crash36.c

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

C
12
字号
// PR c++/32567// { dg-do compile }// { dg-options "-std=c++98" }template <typename... T> struct A	// { dg-error "does not include variadic templates" }{  static T &t;				// { dg-error "not expanded with|T" }  static const int i = sizeof (++t);	// { dg-error "was not declared in this scope" }};int x[A <int>::i];	// { dg-error "is not an integral constant-expression" }

⌨️ 快捷键说明

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