summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-diff/undef.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-diff/undef.ll')
-rw-r--r--llvm/test/tools/llvm-diff/undef.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-diff/undef.ll b/llvm/test/tools/llvm-diff/undef.ll
new file mode 100644
index 00000000000..607fb1f425e
--- /dev/null
+++ b/llvm/test/tools/llvm-diff/undef.ll
@@ -0,0 +1,11 @@
+; Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=33623
+; RUN: llvm-diff %s %s
+
+%A = type { i64, i64 }
+@_gm_ = global <2 x %A*> zeroinitializer
+
+define void @f() {
+entry:
+ store <2 x %A*> undef, <2 x %A*>* @_gm_
+ ret void
+}
OpenPOWER on IntegriCloud