aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash10.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash10.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash10.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash10.C b/gcc/testsuite/g++.old-deja/g++.pt/crash10.C
index 974cafc8731..033e2341c24 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash10.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/crash10.C
@@ -6,6 +6,6 @@ public:
enum { val = (N == 0) ? M : GCD<N, M % N>::val };
};
-main() {
+int main() {
GCD< 1, 0 >::val; // ERROR - division
}