repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
overload2.C
blob
253d055cdf674c2d98ebc3867682557dc0d56f75
1
template <class T, int (T::*)> struct foo;
2
3
template <class T>
4
int f(foo<T,&T::ob_type>*);
5
6
template <class T>
7
char* f(...);
8
9
struct X { int ob_type; };
10
struct Y { char* ob_type; };
11
int x = f<X>(0);
12
char* y = f<Y>(0);
13
char* z = f<int>(0);
14
15
int main() { return 0; }