Commit ecd7226f by Alexandre Oliva Committed by Alexandre Oliva

new1.C, [...]: Removed XFAIL.

* new1.C, template8.C: Removed XFAIL.
* template3.C: Re-introduced XFAIL.  :-(

From-SVN: r28542
parent b28f69a0
1999-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
* new1.C, template8.C: Removed XFAIL.
* template3.C: Re-introduced XFAIL. :-(
1999-08-03 Alexandre Oliva <oliva@dcc.unicamp.br> 1999-08-03 Alexandre Oliva <oliva@dcc.unicamp.br>
* ext1.C: New test. * ext1.C: New test.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// based on comp.std.c++ post by Alexander Schiemann <aschiem@math.uni-sb.de> // based on comp.std.c++ post by Alexander Schiemann <aschiem@math.uni-sb.de>
// execution test - XFAIL *-*-* // execution test
#include <new> #include <new>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// by Alexandre Oliva <oliva@dcc.unicamp.br> // by Alexandre Oliva <oliva@dcc.unicamp.br>
// based on bug report by Ulf Larsson <ulf.larsson@mbow337.swipnet.se> // based on bug report by Ulf Larsson <ulf.larsson@mbow337.swipnet.se>
// fixed crash test // crash test - XFAIL *-*-*
template <class T> class C {}; template <class T> class C {};
class foo {} bar = bar.C(); class foo {} bar = bar.C();
...@@ -10,9 +10,9 @@ struct B { ...@@ -10,9 +10,9 @@ struct B {
} b; } b;
template <class T> void foo() { template <class T> void foo() {
b.bar<T>(); // gets bogus error - bar undeclared - XFAIL *-*-* b.bar<T>(); // no longer gets bogus error - bar undeclared
b.template bar<T>(); // gets bogus error - ditto - XFAIL *-*-* b.template bar<T>(); // no longer gets bogus error - ditto
b.B::bar<T>(); // ok b.B::bar<T>(); // ok
} }
template void foo<void>(); // gets bogus error - XFAIL *-*-* template void foo<void>(); // no longer gets bogus error
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