// RUN: %clang_cc1 -fsyntax-only -verify %s
;
;
;
; // expected-error{{duplicate 'virtual' in base specifier}}
;
; // expected-note {{forward declaration of 'D'}}
; // expected-error{{base class has incomplete type}}
typedef int I;
; // expected-error{{base specifier must name a class}}
; // expected-error{{unions cannot have base classes}}
;
; // expected-error{{unions cannot be base classes}}
typedef G G_copy;
typedef G G_copy_2;
typedef G_copy G_copy_3;
; // expected-error{{base class 'G_copy' (aka 'G') specified more than once as a direct base class}}
;
; // expected-error{{base class 'J' has a flexible array member}}