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