yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
9ec6b9168
master
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): 2 3public struct Visibility 4{ 5 internal int x = 1; 6 public int y = 5; 7 // compiler synthesizes: 8 // public __init(int y = 0); 9} 10 11void test() 12{ 13 //CHECK: error 39999: too many arguments to call (got 2, expected 1) 14 Visibility t1 = {1, 2}; 15} 16