testsuite: suppress mangling compatibility aliases
[official-gcc.git] / gcc / testsuite / g++.dg / abi / mangle8.C
blobaa0e17dba1e2f8d7a8576bdc148244381f7eb26c
1 // Red Hat bugzilla 65035
2 // Bug: We were encoding the name of the instantiation as 'operator int'
3 // rather than 'operator T'.
4 // { dg-do compile }
5 // { dg-additional-options -fabi-compat-version=0 }
7 struct C {
8     template <class T>
9     operator T ();
12 template <class T>
13 C::operator T () { return 0; }
15 template C::operator int ();
17 // { dg-final { scan-assembler _ZN1CcvT_IiEEv } }