repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
union1.C
blob
6f17cf18d25ad8317bf7a5a3f166df9ce7d842e9
1
// { dg-do assemble }
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
}