Skip to content
Snippets Groups Projects
Commit 2e2d03c7 authored by Eli Friedman's avatar Eli Friedman
Browse files

Delete junk that snuck into r166498.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166499 91177308-0d34-0410-b5e6-96231b3b80d8
parent e4851f26
No related branches found
No related tags found
No related merge requests found
......@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment