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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp30.C
blob
923ec85a7383d482c0056f7b82b23f45f70687f8
1
// Build don't run:
2
// GROUPS passed templates membertemplates
3
extern "C" int printf(const char*, ...);
4
5
template <class X>
6
struct S
7
{
8
template <class U>
9
void g(U u) { this; }
10
};
11
12
13
int main()
14
{
15
S<char*> s;
16
s.g(3);
17
}