summaryrefslogtreecommitdiff
path: root/test/COFF/responsefile.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/responsefile.test')
-rw-r--r--test/COFF/responsefile.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/COFF/responsefile.test b/test/COFF/responsefile.test
new file mode 100644
index 000000000000..fd4d221c20dc
--- /dev/null
+++ b/test/COFF/responsefile.test
@@ -0,0 +1,7 @@
+# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
+
+# RUN: echo /out:%t.exe /entry:main %t.obj > %t.rsp
+# RUN: lld-link @%t.rsp /heap:0x3000
+# RUN: llvm-readobj -file-headers %t.exe | FileCheck %s
+
+CHECK: SizeOfHeapReserve: 12288