* template7.C: Crash test passes, bug error is now bogus.
From-SVN: r30583
This commit is contained in:
parent
0f7324bf0a
commit
6630745103
|
@ -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>
|
1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||||
|
|
||||||
* template9.C: New test.
|
* template9.C: New test.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue