// { dg-do compile } // Contributed by: Nick Savoiu // PR c++/14250: Incomplete type in switch statement template struct A { operator int(); }; struct C1 { static A t1; void fun() { switch(t1) { default: break; } } };