summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/defarg7.C
blob: 77506d4022865e4d76d3d6c88f47e1cee00df146 (plain)
1
2
3
4
5
6
7
// PR c++/25337

template <typename T> T& MakeT();
template <typename U, int N = sizeof (MakeT<U>().operator[](0))>
struct helper{};
template <typename U>
static char is_here(helper<U>*);