diff options
author | Alexandre Oliva <oliva@lsd.ic.unicamp.br> | 1999-11-19 06:36:45 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1999-11-19 06:36:45 +0000 |
commit | 663074510345dea1051e0e8f42131bf96e9f22ff (patch) | |
tree | 4faef4551d6430d244e10c8fc99e94e8be1eca84 /gcc | |
parent | 0f7324bf0a5315e9b3855076defa375bdb74dc5c (diff) | |
download | gcc-663074510345dea1051e0e8f42131bf96e9f22ff.zip gcc-663074510345dea1051e0e8f42131bf96e9f22ff.tar.gz gcc-663074510345dea1051e0e8f42131bf96e9f22ff.tar.bz2 |
* template7.C: Crash test passes, bug error is now bogus.
From-SVN: r30583
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.oliva/template7.C | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog index f19eeb0..79ae203 100644 --- a/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog +++ b/gcc/testsuite/g++.old-deja/g++.oliva/ChangeLog @@ -1,3 +1,7 @@ +1999-11-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * template7.C: Crash test passes, bug error is now bogus. + 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br> * template9.C: New test. diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template7.C b/gcc/testsuite/g++.old-deja/g++.oliva/template7.C index 90da431..af926c0 100644 --- a/gcc/testsuite/g++.old-deja/g++.oliva/template7.C +++ b/gcc/testsuite/g++.old-deja/g++.oliva/template7.C @@ -2,15 +2,13 @@ // Copyright (C) 1999 Free Software Foundation -// by Alexandre Oliva <oliva@dcc.unicamp.br> +// by Alexandre Oliva <oliva@lsd.ic.unicamp.br> // simplified from bug report by Paul Burchard <burchard@pobox.com> -// crash test - XFAIL *-*-* - template<class> struct A {}; template<template<class> class T> struct B { B() { - T<B>(); + T<B>(); // gets bogus error - conversion from int to non-scalar - XFAIL *-*-* } }; B<A> foo; |