Commit 66307451 by Alexandre Oliva Committed by Alexandre Oliva

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

From-SVN: r30583
parent 0f7324bf
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> 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* template9.C: New test. * template9.C: New test.
......
...@@ -2,15 +2,13 @@ ...@@ -2,15 +2,13 @@
// Copyright (C) 1999 Free Software Foundation // 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> // simplified from bug report by Paul Burchard <burchard@pobox.com>
// crash test - XFAIL *-*-*
template<class> struct A {}; template<class> struct A {};
template<template<class> class T> struct B { template<template<class> class T> struct B {
B() { B() {
T<B>(); T<B>(); // gets bogus error - conversion from int to non-scalar - XFAIL *-*-*
} }
}; };
B<A> foo; B<A> foo;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment