// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
;
void ;
void
union u w = 2; // expected-warning {{cast to union type is a GNU extension}}
union u ww = 1.0; // expected-error{{cast to union type from type 'double' not present in union}}
union u x = 7; // expected-error{{initializing 'union u' with an expression of incompatible type 'int'}}
int i;
union u zz = i; // expected-error{{initializer element is not a compile-time constant}} expected-warning {{cast to union type is a GNU extension}}
;
struct s y = ;
struct s z = ;