yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
7349dc5cf
master
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): 2interface IThing 3{ 4 void thing(); 5} 6 7void f<T>(T t) where optional T: IThing 8{ 9 // Unchecked optional constraint is an error. 10 t.thing(); // CHECK: error 30403 11}