1 // { dg-do compile }
2 // Testcase by: bangerth@dealii.org
3 // PR c++/11406: ICE
4 
5 template <int> struct S{};
6 
f()7 template <int N> S<sizeof(new double[N])> f() { return S<sizeof(new double[N])>(); }
8 
9 template S<sizeof(void*)> f<2>();
10