summaryrefslogtreecommitdiffstats
path: root/tests/bugs/split-nested-types.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/split-nested-types.slang')
-rw-r--r--tests/bugs/split-nested-types.slang14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs/split-nested-types.slang b/tests/bugs/split-nested-types.slang
new file mode 100644
index 000000000..ccf95d906
--- /dev/null
+++ b/tests/bugs/split-nested-types.slang
@@ -0,0 +1,14 @@
+//TEST_IGNORE_FILE:
+
+struct A { int x; };
+
+struct B { float y; };
+
+struct C { Texture2D t; SamplerState s; };
+
+struct M
+{
+ A a;
+ B b;
+ C c;
+};