1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 template<typename T
> struct S
{
6 struct T
; // expected-note{{forward declaration of 'T'}}
9 S
<int> s0
= static_cast<S
<int> >(0);
10 S
<void*> s1
= static_cast<S
<void*> >(00);
12 (void)static_cast<T
>(10); // expected-error{{'T' is an incomplete type}}