28 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t2# RUN: not llvm-jitlink -noexec %t 2>&1 | FileCheck %s3#4# Check object without alternatename directive fails because of5# external symbol not found error.6#7# CHECK: error: Symbols not found: [ foo ]8 .text9 10 .def foo_def;11 .scl 2;12 .type 32;13 .endef14 .globl foo_def15 .p2align 4, 0x9016foo_def:17 retq18 19 .def main;20 .scl 2;21 .type 32;22 .endef23 .globl main24 .p2align 4, 0x9025main:26 callq foo27 retq28