yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
1da9019e9
master
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): 2import lib; 3 4static X x; 5 6void test() 7{ 8 // CHECK: ([[# @LINE+1]]):{{.*}}ambiguous reference to 'x' 9 x.m = 2; 10 // CHECK: ([[# @LINE+1]]):{{.*}}ambiguous reference to 'x' 11 x[3] = 2; 12 // CHECK: ([[# @LINE+1]]):{{.*}}ambiguous reference to 'x' 13 x(); 14}