[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / subsystem-inference-mingw.s
blob7b21d9c4553baa61b1c6e6abe36796a6dcde3599
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.o
4 # RUN: lld-link -lldmingw %t.o -out:%t.exe
5 # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s
7 # CHECK: AddressOfEntryPoint: 0x1001
8 # CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI (0x3)
10 .text
11 .globl foo
12 .globl mainCRTStartup
13 foo:
14 ret
15 mainCRTStartup:
16 call foo
17 ret