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)