// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -Wno-strict-prototypes -fsyntax-only -verify %s
void
void ;
void
void // expected-note {{previous definition}}
void ; // expected-error {{redefinition of 'fun1'}}
void
void ; // expected-note {{previous definition}}
void // expected-error {{redefinition of 'fun2'}}
void
void ; // expected-note {{previous definition}}
void ; // expected-error {{redefinition of 'fun3'}}
void
void ;
void ;
void
void // expected-error {{definition 'fun5' cannot also be an alias}}
int var1 ; // expected-error {{definition 'var1' cannot also be an alias}}
static int var2 = 2; // expected-error {{definition 'var2' cannot also be an alias}}
extern int var3 ; // expected-note{{previous definition is here}}
int var3 = 3; // expected-error{{redefinition of 'var3'}}
int var4; // expected-note{{previous definition is here}}
extern int var4 ; // expected-error{{alias definition of 'var4' after tentative definition}}