Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/abi/mangle8.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// Red Hat bugzilla 65035 // Bug: We were encoding the name of the instantiation as 'operator int' // rather than 'operator T'. // { dg-do compile } struct C { template <class T> operator T (); }; template <class T> C::operator T () { return 0; } template C::operator int (); // { dg-final { scan-assembler _ZN1CcvT_IiEEv } }