]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/torture/pr51106-2.c
trans.c (check_inlining_for_nested_subprog): Quote reserved names.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / torture / pr51106-2.c
1 /* PR target/51106 */
2 /* { dg-do "compile" } */
3 /* { dg-skip-if "RTL error" { "*-*-*" } { "-fno-fat-lto-objects" } { "" } } */
4 /* { dg-skip-if "" { powerpc-ibm-aix* } } */
5
6 int
7 bar (int x)
8 {
9 asm goto ("" : : "i" (x) : : lab); /* { dg-error "impossible constraint" } */
10 /* { dg-warning "probably does not match constraints" "" { target *-*-* } .-1 } */
11 __builtin_unreachable ();
12 lab:
13 return 0;
14 }
15