// RUN: %clang_cc1 -fms-extensions -fsyntax-only -verify %s
void ;
extern "C" void ;
extern "C"
void
extern "C" void ;
void
void ; // expected-note {{previous declaration is here}}
extern "C" void // expected-error {{declaration of 'foo5' has a different language linkage}}
extern "C"
extern "C"
static void ;
void
static void ;
extern "C"
void
;