gcc/testsuite/g++.dg/abi/abi-tag13.C
raw| 1 | const char *foo = "bar"; |
| 2 | void __attribute((abi_tag(foo))) f1() {} // { dg-error "abi_tag" } |
| 3 | void __attribute((abi_tag(L"foo"))) f2(); // { dg-error "abi_tag" } |
| 4 | void __attribute((abi_tag("3foo"))) f3(); // { dg-error "abi_tag" } |
| 5 | void __attribute((abi_tag(1))) f5(); // { dg-error "abi_tag" } |