1 // An explicit specialization gets the tag from its template.
3 // { dg-final { scan-assembler "_ZN3FooB5cxx11IcE1fEv" } }
5 struct __attribute ((abi_tag("cxx11"))) Foo
10 // { dg-final { scan-assembler "_ZN3FooB5cxx11IiE1fEv" } }
13 __attribute ((abi_tag("cxx11")))
14 Foo<int> // { dg-warning "attribute" }
19 // { dg-final { scan-assembler "_ZN3FooB5cxx11IdE1fEv" } }