blob: bed68f9d16e86ddb2216452f16b2746634f3987e [file] [log] [blame]
// { dg-do compile }
// Testcase by: bangerth@dealii.org
// PR c++/11406: ICE
template <int> struct S{};
template <int N> S<sizeof(new double[N])> f() { return S<sizeof(new double[N])>(); }
template S<sizeof(void*)> f<2>();