[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / subsystem-drectve.test
blobef843c8bd5544b973348724a662c6b8f9177b7d8
1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link -safeseh:no /dll /noentry /out:%t.dll %t.obj
3 # RUN: llvm-readobj --file-headers %t.dll | FileCheck %s
5 # CHECK: MajorOperatingSystemVersion: 42
6 # CHECK: MinorOperatingSystemVersion: 43
7 # CHECK: MajorSubsystemVersion: 42
8 # CHECK: MinorSubsystemVersion: 43
9 # CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI
11 --- !COFF
12 header:
13   Machine:         IMAGE_FILE_MACHINE_I386
14   Characteristics: []
15 sections:
16   - Name:            .drectve
17     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
18     Alignment:       1
19     SectionData:     2f73756273797374656d3a636f6e736f6c652c34322e343300 # /subsystem:console,42.43
20 symbols:
21 ...