summaryrefslogtreecommitdiff
path: root/test/Transforms/WholeProgramDevirt/export-nothing.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/WholeProgramDevirt/export-nothing.ll')
-rw-r--r--test/Transforms/WholeProgramDevirt/export-nothing.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/WholeProgramDevirt/export-nothing.ll b/test/Transforms/WholeProgramDevirt/export-nothing.ll
new file mode 100644
index 0000000000000..e0814efbf9c0d
--- /dev/null
+++ b/test/Transforms/WholeProgramDevirt/export-nothing.ll
@@ -0,0 +1,7 @@
+; RUN: opt -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-write-summary=%t -o /dev/null %s
+; RUN: FileCheck %s < %t
+
+; CHECK: ---
+; CHECK-NEXT: GlobalValueMap:
+; CHECK-NEXT: TypeIdMap:
+; CHECK-NEXT: ...