Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / COFF_directive_include.s
blobd3ddbf95e30cf2326148ed431ddb839af549a5ac
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 an external symbol "foo" is generated and not dead-stripped
5 # because of include directive which turned into symbol not found error.
7 # CHECK: error: Symbols not found: [ foo ]
9 .text
11 .def main;
12 .scl 2;
13 .type 32;
14 .endef
15 .globl main
16 .p2align 4, 0x90
17 main:
18 retq
20 .section .drectve,"yn"
21 .ascii "/include:foo"