summaryrefslogtreecommitdiff
path: root/test/MC/COFF/lset0.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/COFF/lset0.s')
-rwxr-xr-xtest/MC/COFF/lset0.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/COFF/lset0.s b/test/MC/COFF/lset0.s
new file mode 100755
index 0000000000..f5020c83ef
--- /dev/null
+++ b/test/MC/COFF/lset0.s
@@ -0,0 +1,12 @@
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-nm | FileCheck %s
+
+not_global = 123
+global = 456
+.globl global
+.Llocal = 789
+
+// CHECK-NOT: not_global
+// CHECK-NOT: Llocal
+// CHECK: global
+// CHECK-NOT: not_global
+// CHECK-NOT: Llocal