Debian Codegraph @

gcc/testsuite/g++.dg/abi/abi-tag7.C

raw
1 // PR c++/60642
2
3 template<typename T>
4 class __attribute((abi_tag("foo"))) test{ };
5
6 template class __attribute((abi_tag("foo"))) test<int>; // { dg-warning "attribute" }
7
8 void f(test<char>*) {}
9 // { dg-final { scan-assembler "_Z1fP4testB3fooIcE" } }