diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash62.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/crash62.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash62.C b/gcc/testsuite/g++.old-deja/g++.pt/crash62.C new file mode 100644 index 000000000..b4b90e4c2 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/crash62.C @@ -0,0 +1,8 @@ +// { dg-do assemble } + +// Copyright (C) 2000 Free Software Foundation, Inc. +// Contributed by Nathan Sidwell 5 Jan 2001 <nathan@codesourcery.com> + +// Bug 911, ICE on bogus template declaration + +template <class T> class A<T>; // { dg-error "" } not a template |