summaryrefslogtreecommitdiffstats
path: root/tests/compute/empty-struct2.slang.expected.txt
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2019-01-25 08:08:01 -0800
committerTim Foley <tfoleyNV@users.noreply.github.com>2019-01-25 08:08:01 -0800
commit3048d5da46112a2c6c312922ed3f024e14b8a79f (patch)
treeeb2a47e53036208b02c767f69b1f661270d84ff8 /tests/compute/empty-struct2.slang.expected.txt
parent8171a553c2523906240f5653cd1fa5c169dd89b9 (diff)
Fixup handling of empty structs in function return types and parameters. (#796)
* Fixup handling of empty structs in function return types and parameters. * Bug fix in legalizeFunc() * More comprehensive empty struct test * Fix `legalizeFieldExtract` for empty struct field. * Add empty struct handling for construct inst
Diffstat (limited to 'tests/compute/empty-struct2.slang.expected.txt')
-rw-r--r--tests/compute/empty-struct2.slang.expected.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/compute/empty-struct2.slang.expected.txt b/tests/compute/empty-struct2.slang.expected.txt
new file mode 100644
index 000000000..e8c63f701
--- /dev/null
+++ b/tests/compute/empty-struct2.slang.expected.txt
@@ -0,0 +1,4 @@
+0
+1
+2
+3 \ No newline at end of file