summaryrefslogtreecommitdiffstats
path: root/tests/initializer-list
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-06-12 07:57:42 -0700
committerGitHub <noreply@github.com>2025-06-12 07:57:42 -0700
commit4ae6e9d8b7790d827ca9edd729ad94f38a0c73de (patch)
tree1aad23cae09dacf9d3377d040cbc9ac84b48675e /tests/initializer-list
parent7dad68f869502e5c0ab32c12cbf8db866e020713 (diff)
Diagnose on use of struct inheritance. (#7419)
* Diagnose on use of struct inheritance. * fix test. * Fix tests. * fix. --------- Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
Diffstat (limited to 'tests/initializer-list')
-rw-r--r--tests/initializer-list/struct-inherit.slang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/initializer-list/struct-inherit.slang b/tests/initializer-list/struct-inherit.slang
index 71487a74f..642fb8f54 100644
--- a/tests/initializer-list/struct-inherit.slang
+++ b/tests/initializer-list/struct-inherit.slang
@@ -3,6 +3,8 @@
//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-cpu -compute -entry computeMain
//TEST(smoke,compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-dx12 -use-dxil -compute -entry computeMain
+#pragma warning(disable:30816)
+
//TEST_INPUT:ubuffer(data=[0], stride=4):out,name=outputBuffer
RWStructuredBuffer<int> outputBuffer;