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 10