Debian Codegraph @

gcc/testsuite/c-c++-common/pr111817.c

raw
1 /* PR middle-end/111817 */
2 /* { dg-do compile } */
3
4 int
5 foo (int x, int y)
6 {
7 asm ("" : "\n=g" (x) : "0" (y)); /* { dg-warning "output constraint '=' for operand 0 is not at the beginning" } */
8 return x; /* { dg-error "invalid punctuation '\\\\x\[0-9a-zA-Z]*' in constraint" "" { target *-*-* } .-1 } */
9 }