spec5.c

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

C
23
字号
// Test for extension to allow incomplete types in an// exception-specification for a declaration.// { dg-do run }// { dg-options "-fpermissive -w" }struct A;struct B{  void f () throw (A);};struct A {};void B::f () throw (A) {}int main (){  B b;  b.f();}

⌨️ 快捷键说明

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