* template7.C: Crash test passes, bug error is now bogus.

From-SVN: r30583
This commit is contained in:
Alexandre Oliva 1999-11-19 06:36:45 +00:00 committed by Alexandre Oliva
parent 0f7324bf0a
commit 6630745103
2 changed files with 6 additions and 4 deletions

View File

@ -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.

View File

@ -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;