Skip to content

Commit 99d91a1

Browse files
committed
Update tests
1 parent 8b5697f commit 99d91a1

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

tests/ui/lang/issue-46.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
use spirv_std::spirv;
44

5+
#[derive(Default)]
6+
struct Foo {
7+
bar: bool,
8+
baz: [[u32; 2]; 1],
9+
}
10+
511
#[spirv(fragment)]
612
pub fn main() {
713
let x = [[1; 2]; 1];
14+
let y = [Foo::default(); 1];
815
}

tests/ui/lang/issue-46.stderr

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)