PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / abi-tag13.C
blob34e8da3bb582a0a52275a5c9ed6b921aba310659
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" }