Commit 9c6fc6c6 by Doug Gregor

Revert accidental change to crash36.C

From-SVN: r129774
parent 88b82314
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
template <typename... T> struct A // { dg-error "does not include variadic templates" } template <typename... T> struct A // { dg-error "does not include variadic templates" }
{ {
static T &t; // { dg-error "not expanded with|T" } static T &t; // { dg-error "not expanded with|T" }
static const int i = sizeof (++t); static const int i = sizeof (++t); // { dg-error "invalid use of template type parameter" }
}; };
int x[A <int>::i]; // { dg-error "is not an integral constant-expression" } int x[A <int>::i]; // { dg-error "is not an integral constant-expression" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment