summaryrefslogtreecommitdiff
path: root/test/CodeGen/dllimport.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/dllimport.c')
-rw-r--r--test/CodeGen/dllimport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/dllimport.c b/test/CodeGen/dllimport.c
index 61d695705261c..c3fd0770ee837 100644
--- a/test/CodeGen/dllimport.c
+++ b/test/CodeGen/dllimport.c
@@ -39,7 +39,8 @@ USEVAR(GlobalRedecl2)
// NB: MSVC issues a warning and makes GlobalRedecl3 dllexport. We follow GCC
// and drop the dllimport with a warning.
-// CHECK: @GlobalRedecl3 = external dso_local global i32
+// MS: @GlobalRedecl3 = external dso_local global i32
+// GNU: @GlobalRedecl3 = external global i32
__declspec(dllimport) extern int GlobalRedecl3;
extern int GlobalRedecl3; // dllimport ignored
USEVAR(GlobalRedecl3)