diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/parse1.C | 6 | ||||
| -rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/static3.C | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/parse1.C b/gcc/testsuite/g++.old-deja/g++.other/parse1.C new file mode 100644 index 0000000..d817512 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/parse1.C @@ -0,0 +1,6 @@ +// Test that we save declspecs before a class defn properly. +// Build don't link: + +static volatile union { + void f() { } +} u; diff --git a/gcc/testsuite/g++.old-deja/g++.pt/static3.C b/gcc/testsuite/g++.old-deja/g++.pt/static3.C index 724355e..6fe33f9 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/static3.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/static3.C @@ -1,6 +1,6 @@ // On targets that don't support weak symbols, we require an explicit // instantiation of arr. -// excess errors test - XFAIL *-*-aout *-*-coff +// excess errors test - XFAIL *-*-aout *-*-coff *-*-hpux* template<class T> struct A { |
