// RUN: clang-cc -fsyntax-only -verify %s template struct S { S(int); }; struct T; // expected-note{{forward declaration of 'struct T'}} void f() { S s0 = static_cast >(0); S s1 = static_cast >(00); (void)static_cast(10); // expected-error{{'struct T' is an incomplete type}} }