aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/non-deducible1.C
blob: 421352489041c6d69a6d759bfdf52b063b479c6d (plain)
1
2
3
4
5
6
7
8
// PR c++/23055

template <class> struct S { typedef int type; };

template <class T>
int foo(T, typename S<T>::type * ret);

int j = foo(1, 0);