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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
template22.C
blob
4301fad5234e58c40c291623f42c7978c47cdccd
1
// { dg-do run }
2
// GROUPS passed templates
3
extern "C" int printf (const char *, ...);
4
5
template <class T>
6
class Foo
7
{
8
public:
9
void func (int const& i);
10
};
11
12
template <class T>
13
void Foo<T>::
14
func (int const& i)
15
{}
16
17
18
int main ()
19
{
20
Foo<int const> foo;
21
printf ("PASS\n");
22
return 0;
23
}