blob: 7d25db39d9c7921813b6b5bda4b50dd9275590e4 [file] [log] [blame]
// PR c++/105386
// { dg-do compile { target c++11 } }
template<class T> struct NoInst {
static_assert(sizeof(T) == 9999, "NoInst instantiated");
};
template<class T> NoInst<T> f(T);
template<class>
struct A {
using type = decltype(f(0));
};
A<int> a;