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 
f(test<char> *)8 void f(test<char>*) {}
9 // { dg-final { scan-assembler "_Z1fP4testB3fooIcE" } }
10