1 // RUN: %clang_cc1 -Wmissing-variable-declarations -fsyntax-only -verify %s
3 int vbad1; // expected-warning{{no previous extern declaration for non-static variable 'vbad1'}}
6 int vbad2 = 10; // expected-warning{{no previous extern declaration for non-static variable 'vbad2'}}
10 } vbad3; // expected-warning{{no previous extern declaration for non-static variable 'vbad3'}}
13 int vbad4 = 10; // expected-warning{{no previous extern declaration for non-static variable 'vbad4'}}