aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/abi-tag13.C
blob: 34e8da3bb582a0a52275a5c9ed6b921aba310659 (plain)
1
2
3
4
5
const char *foo = "bar";
void __attribute((abi_tag(foo))) f1() {}  // { dg-error "abi_tag" }
void __attribute((abi_tag(L"foo"))) f2(); // { dg-error "abi_tag" }
void __attribute((abi_tag("3foo"))) f3(); // { dg-error "abi_tag" }
void __attribute((abi_tag(1))) f5();	  // { dg-error "abi_tag" }