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
/
memtemp35.C
blob
11cc223ad11b8f423487ee42ed19313c4a0f0ef1
1
// { dg-do assemble }
2
// GROUPS passed templates membertemplates
3
template <class T>
4
struct S
5
{
6
S(const S& s) {}
7
8
template <class U>
9
S(S<U>& s)
10
{
11
S<U> s2(s);
12
}
13
};
14
15
16
extern S<int>& si;
17
18
void foo()
19
{
20
S<char*> sc(si);
21
}