summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/cast-to-union.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/cast-to-union.c')
-rw-r--r--clang/test/CodeGen/cast-to-union.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/cast-to-union.c b/clang/test/CodeGen/cast-to-union.c
index 2f10d6ce56d..9f0b080d950 100644
--- a/clang/test/CodeGen/cast-to-union.c
+++ b/clang/test/CodeGen/cast-to-union.c
@@ -1,7 +1,7 @@
// RUN: clang -emit-llvm < %s -o %t &&
// RUN: grep "store i32 351, i32*" %t &&
-// RUN: grep "w = global <{ i32, i8, i8, i8, i8 }> <{ i32 2, i8 0, i8 0, i8 0, i8 0 }>" %t &&
-// RUN: grep "y = global <{ double }> <{ double 7.300000e+01 }>" %t
+// RUN: grep "w = global %0 <{ i32 2, i8 0, i8 0, i8 0, i8 0 }>" %t &&
+// RUN: grep "y = global %1 <{ double 7.300000e+01 }>" %t
union u { int i; double d; };
OpenPOWER on IntegriCloud