blob: caf7e1cd4a49c70c6423d64d6eda02f1be18761a [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename c>
struct d
{
using e = c;
};
template<class f>
struct g
{
using h = typename d<f>::e;
template<class i, class j>
auto operator()(i, j k) -> decltype(h{k});
};
template<class l>
void m()
{
int a[1];
l{}(a, a);
}
int main()
{
m<g<int *>>();
}