aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/abi/abi-tag7.C
blob: 4c47725c5362f4f35b779cd52ba674e731eec872 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/60642

template<typename T>
class __attribute((abi_tag("foo"))) test{  };

template class __attribute((abi_tag("foo"))) test<int>; // { dg-warning "attribute" }

void f(test<char>*) {}
// { dg-final { scan-assembler "_Z1fP4testB3fooIcE" } }