21 lines · plain
1# REQUIRES: x862# RUN: split-file %s %t.dir && cd %t.dir3 4# RUN: llvm-mc -filetype=obj -triple=x86_64-windows test.s -o test.obj5# RUN: llvm-mc -filetype=obj -triple=x86_64-windows drectve.s -o drectve.obj6 7# RUN: env LLD_IN_TEST=1 not lld-link -out:out.dll test.obj -dll -entry: 2>&1 | FileCheck %s8# RUN: env LLD_IN_TEST=1 not lld-link -out:out.dll test.obj -dll drectve.obj 2>&1 | FileCheck %s9 10# CHECK: error: missing entry point symbol name11 12#--- test.s13 .text14 .globl func15func:16 ret17 18#--- drectve.s19 .section .drectve, "yn"20 .ascii " -entry:"21