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
/
union1.C
1
// Build don't link:
2
3
union Un {int i;};
4
5
template<class T1, class T2> struct St1 {};
6
template<class T> struct St1<Un,T> {};
7
8
template<class T> struct St2 {};
9
template<> struct St2<Un> {};
10
11
template<class T1, class T2> struct St3 {};
12
template<> struct St3<Un,int> {};
13
14
void f() {
15
St1<int,int> s1;
16
St2<int> s2;
17
St3<int,int> s3;
18
}