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