1 // RUN: %clang_cc1 -fsyntax-only -verify %s
19 struct incomplete
; // expected-note{{forward declaration of 'bar::incomplete'}}
24 a
+ b
; // expected-error{{invalid operands to binary expression ('foo::wibble::x' and '::bar::y' (aka 'int'))}}
26 ::foo::wibble::bar::wonka::x::y c
;
27 c
+ b
; // expected-error{{invalid operands to binary expression ('::foo::wibble::bar::wonka::x::y' and '::bar::y' (aka 'int'))}}
29 (void)sizeof(bar::incomplete
); // expected-error{{invalid application of 'sizeof' to an incomplete type 'bar::incomplete'}}
32 int ::foo::wibble::bar::wonka::x::y::* ptrmem
;