https://github.com/shader-slang/slang
Raw File
Tip revision: 487ae034e2b03ddd67945132c8fecbd937952705 authored by Sriram Murali on 14 May 2024, 06:57:57 UTC
Add LoadAligned and StoreAligned methods to ByteAddressBuffers (#4066)
Tip revision: 487ae03
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