yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeMisc parser improvements. (#8563)5793b6d86

master
384 B9 linesraw
1// Check that we can correctly parse link-time struct definitions on the same line.
2// There was a bug where the parser is expecting an identifier after `struct` definition,
3// even if the struct is a link-time struct ending with a `;`.
4
5//TEST:SIMPLE: -target slangvm
6
7interface IFoo{}
8struct FooImpl : IFoo{}
9export struct Foo1 : IFoo = FooImpl; export struct Foo2 : IFoo = FooImpl;