// { dg-do compile } // Testcase by: bangerth@dealii.org // PR c++/11406: ICE template struct S{}; template S f() { return S(); } template S f<2>();