summaryrefslogtreecommitdiff
path: root/test/LibDriver/thin.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/LibDriver/thin.test')
-rw-r--r--test/LibDriver/thin.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/LibDriver/thin.test b/test/LibDriver/thin.test
new file mode 100644
index 000000000000..4ab9d61952bf
--- /dev/null
+++ b/test/LibDriver/thin.test
@@ -0,0 +1,9 @@
+RUN: echo foo > %t
+
+RUN: llvm-lib -out:%t.a %t
+RUN: FileCheck --check-prefix=FAT %s < %t.a
+FAT: !<arch>
+
+RUN: llvm-lib -out:%t.thin.a -llvmlibthin %t
+RUN: FileCheck --check-prefix=THIN %s < %t.thin.a
+THIN: !<thin>