diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash10.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/crash10.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash10.C b/gcc/testsuite/g++.old-deja/g++.pt/crash10.C index 033e2341c24..a7633a0d58e 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/crash10.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/crash10.C @@ -3,9 +3,9 @@ template<int M, int N> class GCD { public: - enum { val = (N == 0) ? M : GCD<N, M % N>::val }; + enum { val = (N == 0) ? M : GCD<N, M % N>::val }; // ERROR - division }; int main() { - GCD< 1, 0 >::val; // ERROR - division + GCD< 1, 0 >::val; // ERROR - instantiated } |