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
PR modula2/115804 ICE during gimplification with new isfinite optab
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
sfinae18.C
blob
bbc39cb3ac0f3c50dbcdbfd529383583226b233a
1
// PR c++/41468
2
3
typedef int Ft(int);
4
struct A { operator Ft*(); };
5
struct B { operator Ft*(); };
6
struct C : A, B { };
7
8
template<typename C> void f(int (*a)[sizeof(C()(0))]);
9
template<typename C> void f(...);
10
int main() { f<C>(0); }