2014-07-13 12:31:19 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-nm - | FileCheck %s --check-prefix=GLOBAL
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-nm - | FileCheck %s --check-prefix=LOCAL
|
2013-11-19 07:08:12 +08:00
|
|
|
|
|
|
|
not_global = 123
|
|
|
|
global = 456
|
|
|
|
.globl global
|
2014-07-13 12:31:19 +08:00
|
|
|
Llocal = 789
|
2013-11-19 07:08:12 +08:00
|
|
|
|
2014-07-13 12:31:19 +08:00
|
|
|
// LOCAL-NOT: local
|
|
|
|
// GLOBAL: A global
|
|
|
|
// GLOBAL: a not_global
|