testsuite: suppress mangling compatibility aliases
[official-gcc.git] / gcc / testsuite / g++.dg / abi / mangle30.C
blobaf92f611e269a4cf54f75fe8e8ee2ce24eb066aa
1 // Test for mangling of template args in a typename type.
2 // { dg-additional-options -fabi-compat-version=0 }
4 struct A
6   template <class T>
7   struct B
8   {
9     typedef T myT;
10   };
13 struct C {};
15 template <class T>
16 void f (T t, typename T::template B<C>::myT u, typename T::template B<int>::myT v);
18 int main()
20   f (A(), C(), 1);
23 // { dg-final { scan-assembler "_Z1fI1AEvT_NS1_1BI1CE3myTENS2_IiE3myTE" } }