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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
func1.C
blob
0d1677060c37f10305bd325d981f1e500c47378e
1
template <typename T1,typename T2>
2
inline void f(const T1&,const T2&) { }
3
4
template <typename T1,typename T2,void F(const T1&,const T2&)>
5
struct A {
6
template <typename T> void g(T& i) { }
7
};
8
9
int main() {
10
int i;
11
A<int,int,f> a;
12
a.g(i);
13
}