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++.brendan
/
template22.C
blob
28c70b343014ac2e1bc4bf22a659ac24a98a35ce
1
// GROUPS passed templates
2
extern "C" int printf (const char *, ...);
3
4
template <class T>
5
class Foo
6
{
7
public:
8
void func (int const& i);
9
};
10
11
template <class T>
12
void Foo<T>::
13
func (int const& i)
14
{}
15
16
17
int main ()
18
{
19
Foo<int const> foo;
20
printf ("PASS\n");
21
return 0;
22
}