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
Addition of a whole slew of "eb" test cases generated from the egcs-bugs
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb60.C
1
#include <string>
2
3
class t {
4
public:
5
t(const string& s) : s_(s) {}
6
string s_;
7
static t* t_;
8
};
9
10
t* t::t_;
11
12
t* makeT()
13
{
14
return new t("test");
15
return t::t_ ? t::t_ :
16
t::t_ = new t("test");
17
}