aboutsummaryrefslogtreecommitdiff
path: root/test/Bitcode/thinlto-summary-globalvar.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bitcode/thinlto-summary-globalvar.ll')
-rw-r--r--test/Bitcode/thinlto-summary-globalvar.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Bitcode/thinlto-summary-globalvar.ll b/test/Bitcode/thinlto-summary-globalvar.ll
new file mode 100644
index 000000000000..56f9c0788751
--- /dev/null
+++ b/test/Bitcode/thinlto-summary-globalvar.ll
@@ -0,0 +1,5 @@
+; RUN: opt -module-summary %s -o - | llvm-bcanalyzer -dump | FileCheck %s
+
+; CHECK: <GLOBALVAL_SUMMARY_BLOCK
+
+@a = global i32 0