Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / COFF_directive_alternatename_fail.s
blobd513263b279d66d3f498d28dbc0998afee916652
1 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t
2 # RUN: not llvm-jitlink -noexec %t 2>&1 | FileCheck %s
4 # Check object without alternatename directive fails because of
5 # external symbol not found error.
7 # CHECK: error: Symbols not found: [ foo ]
8 .text
10 .def foo_def;
11 .scl 2;
12 .type 32;
13 .endef
14 .globl foo_def
15 .p2align 4, 0x90
16 foo_def:
17 retq
19 .def main;
20 .scl 2;
21 .type 32;
22 .endef
23 .globl main
24 .p2align 4, 0x90
25 main:
26 callq foo
27 retq