projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b8231
)
Revert accidental change to crash36.C
author
Doug Gregor
<dgregor@gcc.gnu.org>
Tue, 30 Oct 2007 13:38:10 +0000
(13:38 +0000)
committer
Doug Gregor
<dgregor@gcc.gnu.org>
Tue, 30 Oct 2007 13:38:10 +0000
(13:38 +0000)
From-SVN: r129774
gcc/testsuite/g++.dg/parse/crash36.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/parse/crash36.C
b/gcc/testsuite/g++.dg/parse/crash36.C
index e73e928350d4f6177eabe3437391886f9304b9ca..1e5ab8f25625e34da2824c34bd2fb113849e1d6d 100644
(file)
--- a/
gcc/testsuite/g++.dg/parse/crash36.C
+++ b/
gcc/testsuite/g++.dg/parse/crash36.C
@@
-5,7
+5,7
@@
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);
+ 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" }