exception-specification.c

来自「gcc3.2.1源代码」· C语言 代码 · 共 11 行

C
11
字号
// { dg-do compile }struct S { void f (void); };typedef void f1 (void) throw (int); // { dg-error "exception" }typedef void (*f2) (void) throw (int); // { dg-error "exception" }typedef void (S::*f3) (void) throw (int); // { dg-error "exception" }void (*f4) (void) throw (int);void (S::*f5) (void) throw (int);

⌨️ 快捷键说明

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