[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / no-idata.s
blobf19acce8cddb67cb1e44f0abcd50798ee23b9307
1 # REQUIRES: x86
3 # RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.obj
4 # RUN: lld-link -out:%t.exe -entry:main -subsystem:console %t.obj
5 # RUN: llvm-objdump -s %t.exe | FileCheck --check-prefix=DUMP %s
6 # RUN: llvm-readobj --file-headers %t.exe | FileCheck -check-prefix=DIRECTORY %s
8 .text
9 .global main
10 main:
11 ret
13 # Check that no .idata (.rdata) entries were added, no null terminator
14 # for the import descriptor table.
15 # DUMP: Contents of section .text:
16 # DUMP-NEXT: 140001000 c3
17 # DUMP-NEXT-EMPTY:
19 # DIRECTORY: ImportTableRVA: 0x0
20 # DIRECTORY: ImportTableSize: 0x0