mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 14:35:50 -04:00
20 lines
499 B
C
20 lines
499 B
C
$NetBSD$
|
|
|
|
--- gcc/testsuite/gcc.dg/torture/pr51106-1.c.orig Wed May 21 19:48:58 2014
|
|
+++ gcc/testsuite/gcc.dg/torture/pr51106-1.c
|
|
@@ -0,0 +1,14 @@
|
|
+/* PR target/51106 */
|
|
+/* { dg-do "compile" } */
|
|
+/* { dg-skip-if "RTL error" { "*-*-*" } { "-fno-fat-lto-objects" } { "" } } */
|
|
+
|
|
+int
|
|
+foo (int x)
|
|
+{
|
|
+ asm goto ("" : : "i" (x) : : lab); /* { dg-error "impossible constraint" } */
|
|
+ return 1;
|
|
+lab:
|
|
+ return 0;
|
|
+}
|
|
+
|
|
+/* { dg-warning "probably doesn.t match constraints" "" { target *-*-* } 8 } */
|