OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash34.C
1
// Build don't link:
2
// Origin: Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3
4
template <class T>
5
class A {
6
public:
7
class B { };
8
class C: public B {
9
public:
10
C(A&):B() { }
11
};
12
C f() { return C(*this); }
13
};
14
15
int
16
main()
17
{
18
A<int> a;
19
a.f();
20
}