mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 18:40:57 +08:00
up
From-SVN: r23417
This commit is contained in:
parent
e2c3143293
commit
63ece2d277
@ -1,6 +1,5 @@
|
||||
// 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
|
||||
|
@ -1,7 +1,5 @@
|
||||
// Build don't link:
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
template <class T> void foo();
|
||||
|
||||
void (*bar)() = foo<void>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user