[cfe-commits] r166499 - /cfe/trunk/test/Sema/warn-missing-variable-declarations.c
Eli Friedman
eli.friedman at gmail.com
Tue Oct 23 13:23:23 PDT 2012
Author: efriedma
Date: Tue Oct 23 15:23:23 2012
New Revision: 166499
URL: http://llvm.org/viewvc/llvm-project?rev=166499&view=rev
Log:
Delete junk that snuck into r166498.
Modified:
cfe/trunk/test/Sema/warn-missing-variable-declarations.c
Modified: cfe/trunk/test/Sema/warn-missing-variable-declarations.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-missing-variable-declarations.c?rev=166499&r1=166498&r2=166499&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-missing-variable-declarations.c (original)
+++ cfe/trunk/test/Sema/warn-missing-variable-declarations.c Tue Oct 23 15:23:23 2012
@@ -16,21 +16,3 @@
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;
More information about the cfe-commits
mailing list