anon5.c

来自「用于进行gcc测试」· C语言 代码 · 共 27 行

C
27
字号
// PR c++/34094// The error is reported for mips*-elf* targets, but as of binutils CVS// 2008-02-19, the linker cannot find the associated source line.  The// problem is that mips*-elf tests run from KSEG0 (which is in the upper// half of the address range), and the linker compares sign-extended// addresses from .debug_aranges with unextended addresses.// { dg-do link { target { ! { hppa*-*-hpux* mips*-*-elf* } } } }// { dg-options "-g" }namespace {  struct c  {    static const bool t = 0;  };}const bool &f(){  return c::t;			// { dg-error "undefined" }}int main(void){  return 0;}

⌨️ 快捷键说明

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