yum-mirror/slang

Making it easier to work with shaders

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

Yong HeSupport `class` types. (#2321)049aac1b8

master
223 B10 linesraw
1//DISABLED_TEST:DIAGNOSTIC_TEST:SIMPLE:
2
3// `class` keyword is a reserved keyword in this context, and wso should produce an error.
4// It can be used in the form of `enum class` 
5
6class SomeClass
7{
8    int a;
9    int b;
10};