// RUN: %clang_cc1 -fsyntax-only -Wno-strict-prototypes -verify %s
void ; // expected-note {{previous}}
void // expected-error {{conflicting types for 'blapp'}}
void ; // expected-note {{previous}}
void ; // expected-error {{conflicting types for 'yarp'}}
void ; // expected-note {{previous}}
void // expected-error {{conflicting types for 'blarg'}}
void ; // expected-note {{previous}}
void int x; // expected-error {{conflicting types for 'blerp'}}
void ; // expected-note {{previous}}
void ;
void // expected-error {{conflicting types for 'foo'}}
void ;
void short x; // Okay, promoted type is fine
// All these cases are okay
void ;
void int x;
void ;
void ;
void int x;
// Ensure redeclarations that conflict with a builtin use a note which makes it
// clear that the previous declaration was a builtin.
float