zig/deps/lld/test/COFF/filename-casing.s
2018-01-17 17:29:21 -05:00

15 lines
482 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %T/MixedCase.obj %s
# RUN: not lld-link /entry:main %T/MixedCase.obj 2>&1 | FileCheck -check-prefix=OBJECT %s
# RUN: llvm-lib /out:%T/MixedCase.lib %T/MixedCase.obj
# RUN: not lld-link /machine:x64 /entry:main %T/MixedCase.lib 2>&1 | FileCheck -check-prefix=ARCHIVE %s
# OBJECT: MixedCase.obj: undefined symbol: f
# ARCHIVE: MixedCase.lib(MixedCase.obj): undefined symbol: f
.globl main
main:
callq f