OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp75.C
1
// { dg-do assemble }
2
3
void
4
print(const int& i)
5
{
6
}
7
8
template<class A>
9
class bar
10
{
11
public:
12
template<void (*B)(const A& a)>
13
void doit(const A& a)
14
{
15
B(a);
16
}
17
};
18
19
20
int
21
main()
22
{
23
bar<int> b;
24
b.doit<print>(2);
25
}