blob: b8f28c7e52af11acbb7ae842b74d18ec6bd29dcd [file] [log] [blame]
// 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