diff options
Diffstat (limited to 'test/Object/X86/nm-coff.s')
| -rw-r--r-- | test/Object/X86/nm-coff.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Object/X86/nm-coff.s b/test/Object/X86/nm-coff.s new file mode 100644 index 000000000000..b8f28c7e52af --- /dev/null +++ b/test/Object/X86/nm-coff.s @@ -0,0 +1,9 @@ +// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32 +// RUN: llvm-nm --undefined-only %t | FileCheck %s +// CHECK: w foo + +g: + movl foo(%rip), %eax + retq + + .weak foo |
