]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Object/X86/nm-coff.s
Vendor import of llvm trunk r242221:
[FreeBSD/FreeBSD.git] / test / Object / X86 / nm-coff.s
1 // RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
2 // RUN: llvm-nm --undefined-only %t | FileCheck %s
3 // CHECK: w foo
4
5 g:
6         movl    foo(%rip), %eax
7         retq
8
9         .weak   foo