p6058.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 19 行

C
19
字号
// Build don't link:// Special g++ Options: -fexceptions -pedantic-errors// prms-id: 6058void bar(struct s1 { } a) { (void)a; }			// ERROR - struct s2*fooey(){  try {    static_cast<struct s3 { } *>(0);			// ERROR -     const_cast<struct s4 { } *>((s4*)0);		// ERROR -     reinterpret_cast<struct s5 { } *>((s3*)0);		// ERROR -     dynamic_cast<struct s6 { } *>((s6*)0);		// ERROR -     (struct s7 { } *)(int*)0xffedec;			// ERROR -   } catch (struct s8 { } s) {				// ERROR -   }  return 0;}

⌨️ 快捷键说明

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