brintos

brintos / llvm-project-archived public Read only

0
0
Text · 449 B · d3ddbf9 Raw
22 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 an external symbol "foo" is generated and not dead-stripped5# because of include directive which turned into symbol not found error.6#7# CHECK: error: Symbols not found: [ foo ]8 9	.text10 11	.def	main;12	.scl	2;13	.type	32;14	.endef15	.globl	main16	.p2align	4, 0x9017main:18	retq19 20	.section .drectve,"yn"21	.ascii "/include:foo"22