⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mangle13.c

📁 gcc-you can use this code to learn something about gcc, and inquire further into linux,
💻 C
字号:
// { dg-options "-fabi-version=0" }struct A {  template <typename T> int f ();  int operator+();  operator int ();  template <typename T>   int operator-();};typedef int (A::*P)();template <P> struct S {};template <typename T> void g (S<&T::template f<int> >) {}template <typename T> void g (S<&T::operator+ >) {}template <typename T> void g (S<&T::operator int>) {}template <typename T> void g (S<&T::template operator- <double> >) {}template void g<A> (S<&A::f<int> >);template void g<A> (S<&A::operator+>);template void g<A> (S<&A::operator int>);template void g<A> (S<&A::operator-<double> >);// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_1fIiEEE } }// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_plEE } }// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_cviEE } }// { dg-final { scan-assembler _Z1gI1AEv1SIXadsrT_miIdEEE } }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -