]> granicus.if.org Git - clang/commitdiff
Delete junk that snuck into r166498.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 23 Oct 2012 20:23:23 +0000 (20:23 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 23 Oct 2012 20:23:23 +0000 (20:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166499 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/warn-missing-variable-declarations.c

index cf911c2a89b75afdb5a4cab8a27a640db46cb871..631d3d213b01f342ff90a72adf6a30d4a41a52b8 100644 (file)
@@ -16,21 +16,3 @@ extern int vbad4;
 extern int vgood1;
 int vgood1;
 int vgood1 = 10;
-// RUN: %clang -Wmissing-variable-declarations -fsyntax-only -Xclang -verify %s
-
-int vbad1; // expected-warning{{no previous extern declaration for non-static variable 'vbad1'}}
-
-int vbad2;
-int vbad2 = 10; // expected-warning{{no previous extern declaration for non-static variable 'vbad2'}}
-
-struct {
-  int mgood1;
-} vbad3; // expected-warning{{no previous extern declaration for non-static variable 'vbad3'}}
-
-int vbad4;
-int vbad4 = 10; // expected-warning{{no previous extern declaration for non-static variable 'vbad4'}}
-extern int vbad4;
-
-extern int vgood1;
-int vgood1;
-int vgood1 = 10;