mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
test: Add test cases for zero value constructors
Fixed: tint:477 Change-Id: I087c24904ab2f38524ab2c39092fbfb277fdba3b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55256 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
6330260f7d
commit
fd75bd0965
7
test/expressions/zero_init/struct/array.wgsl
Normal file
7
test/expressions/zero_init/struct/array.wgsl
Normal file
@@ -0,0 +1,7 @@
|
||||
struct S {
|
||||
a : array<f32, 4>;
|
||||
};
|
||||
|
||||
fn f() {
|
||||
var v = S();
|
||||
}
|
||||
Reference in New Issue
Block a user