aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/union-passing.c2
-rw-r--r--tests/union-passing.qbe2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/union-passing.c b/tests/union-passing.c
index 14025c0..ddf35f2 100644
--- a/tests/union-passing.c
+++ b/tests/union-passing.c
@@ -1,2 +1,2 @@
-void f(union {int x;} u) {
+void f(union {int x; float y;} u) {
}
diff --git a/tests/union-passing.qbe b/tests/union-passing.qbe
index 96e8523..2edd8db 100644
--- a/tests/union-passing.qbe
+++ b/tests/union-passing.qbe
@@ -1,4 +1,4 @@
-type :.1 = { w, }
+type :.1 = { { w } { s } }
export
function $f(:.1 %.1) {
@start.1