[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / invalid-entry.s
blob8973dfba3b9f85031943932154079006e7c602df
1 # REQUIRES: x86
2 # RUN: split-file %s %t.dir && cd %t.dir
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows test.s -o test.obj
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows drectve.s -o drectve.obj
7 # RUN: env LLD_IN_TEST=1 not lld-link -out:out.dll test.obj -dll -entry: 2>&1 | FileCheck %s
8 # RUN: env LLD_IN_TEST=1 not lld-link -out:out.dll test.obj -dll drectve.obj 2>&1 | FileCheck %s
10 # CHECK: error: missing entry point symbol name
12 #--- test.s
13 .text
14 .globl func
15 func:
16 ret
18 #--- drectve.s
19 .section .drectve, "yn"
20 .ascii " -entry:"