https://github.com/shader-slang/slang
Raw File
Tip revision: bd11629739ae2b0619699c765354894ff32dacf1 authored by Yong He on 23 September 2022, 04:54:16 UTC
GFX: improve d3d12 performance. (#2408)
Tip revision: bd11629
class-keyword.slang
//DISABLED_TEST:DIAGNOSTIC_TEST:SIMPLE:

// `class` keyword is a reserved keyword in this context, and wso should produce an error.
// It can be used in the form of `enum class` 

class SomeClass
{
    int a;
    int b;
};
back to top