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