Commit 63ece2d2 by Jason Merrill

up

From-SVN: r23417
parent e2c31432
// Build don't link:
// Special g++ Options:
// crash test - XFAIL
class Pooled
{
......
......@@ -5,8 +5,6 @@
// Submitted by Melissa O'Neill <oneill@cs.sfu.ca>
// the vtable of Foo<int> wouldn't be generated
// excess errors test - XFAIL *-*-*
template <typename A>
struct Foo {
virtual void foo() {}
......
......@@ -2,8 +2,6 @@
// Additional sources: instantiate5.cc instantiate5-main.cc
// excess errors test - XFAIL *-*-*
// `global constructors' are given the same name, based on foo(), on
// both translation units, which is wrong, because it must be possible
// to define template functions in multiple translation units, as long
......
// Build don't link:
// crash test - XFAIL *-*-*
template <class T> void foo();
void (*bar)() = foo<void>;
......
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