aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash8.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash8.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash8.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash8.C b/gcc/testsuite/g++.old-deja/g++.pt/crash8.C
index 2fd687ac819..deff42dba89 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash8.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/crash8.C
@@ -27,7 +27,7 @@ void doit(T x) {
p2 = TestClass2(); // ERROR - template used as expression
}
-main() {
+int main() {
double x;
doit(x);
}