Debian Codegraph @

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

raw
1 // { dg-options -Wabi-tag }
2 // { dg-final { scan-assembler "_Z1f1BI1AB3fooE" } }
3
4 struct __attribute__ ((abi_tag ("foo"))) A { };
5 template <class T> struct B: T { };
6
7 void f(B<A>) {}