diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-05-14 10:11:33 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-05-14 10:11:33 +0000 |
commit | b0dbc9612ff68d6db5fa6e4308a6538c394970ab (patch) | |
tree | 4c418b598778765ba6451443e6d9255f7e7dfe5b /clang/test | |
parent | a568222ddd4ce6354bdbc623ff725264da0cdd14 (diff) | |
download | bcm5719-llvm-b0dbc9612ff68d6db5fa6e4308a6538c394970ab.tar.gz bcm5719-llvm-b0dbc9612ff68d6db5fa6e4308a6538c394970ab.zip |
Revert r360637 "PR41817: Fix regression in r359260 that caused the MS compatibility"
> extension allowing a "static" declaration to follow an "extern"
> declaration to stop working.
It introduced asserts for some "static-following-extern" cases, breaking the
Chromium build. See the cfe-commits thread for reproducer.
llvm-svn: 360657
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/ms-compat-extern-static.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/test/CodeGen/ms-compat-extern-static.c b/clang/test/CodeGen/ms-compat-extern-static.c deleted file mode 100644 index 2ad60ef7bc9..00000000000 --- a/clang/test/CodeGen/ms-compat-extern-static.c +++ /dev/null @@ -1,11 +0,0 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - -fms-extensions -triple x86_64-windows | FileCheck %s - -// CHECK: @n = internal global i32 1 -extern int n; -static int n = 1; -int *use = &n; - -// CHECK: define internal void @f( -extern void f(); -static void f() {} -void g() { return f(); } |