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
* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
eichin01b.C
1
template <class X> class TC {
2
public:
3
X aaa;
4
static X sss;
5
TC(X a) {aaa = a; }
6
TC(X a, X s) {aaa = a; sss = s; }
7
void sz(X s) { sss = s; }
8
void syy(X syarg) { sss = syarg; }
9
};
10
11
long TC<long>::sss;
12
float TC<float>::sss;
13
14
TC<long> xjj(1,2);
15
16
int main(int,char*) {
17
TC<float> xff(9.9,3.14);
18
xjj.sz(123);
19
xff.sz(2.71828);
20
return 0;
21
}