Daily bump.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / abi-tag20.C
blob229c1709be58e52110936721c6f2ae517dface00
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler "_ZN1B1gIcEEN7__cxx111XEv" } }
4 inline namespace __cxx11 __attribute__((__abi_tag__ ("ABI_TAG"))) {
5   class X {};
7 struct B {
8   X f();
9   template <class U> X g();
11 int main() {
12   B b;
13   b.g<char>();
14   return 0;