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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp33.C
blob
917da1ef2ee9212d3bf28a2f05c0744c1e68d6ea
1
// { dg-do link }
2
// GROUPS passed templates membertemplates
3
extern "C" int printf(const char*, ...);
4
5
template <class T>
6
struct S
7
{
8
template <class U>
9
void g(U u)
10
{ i; }
11
12
int i;
13
};
14
15
int main()
16
{
17
S<char> s;
18
s.g(3);
19
}