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

📄 arm2.c

📁 linux下编程用 编译软件
💻 C
字号:
// { dg-do assemble  }// GROUPS passed ARM-compliance// ARM 9.4 ``There cannot be a static and a nonstatic member function//	     with the same name and the same argument types.''//// The trick is to make sure it's caught with both orders (static,// then normal, and vice-versa.class X {public:  int foo();            // { dg-error "with" }  static int foo();	// error: redeclaration// { dg-error "overloaded" } .*};class Y {public:   static int foo();    // { dg-error "with" }  int foo();		// error: redeclaration// { dg-error "overloaded" } .*};

⌨️ 快捷键说明

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