yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
90c34e3db
master
1//TEST:SIMPLE(filecheck=CHECK): -warnings-as-errors 30856 2 3interface ICompatibleWith<T> {} 4interface IBase {} 5struct INT : IBase {} 6struct FLOAT : IBase {} 7 8extension<EX : IBase> EX : ICompatibleWith<INT> {} 9extension<EY : IBase> EY : ICompatibleWith<FLOAT> {} 10 11struct VECTOR<T> {} 12 13// CHECK: ([[# @LINE+1]]): error 30856: the extension is non-standard 14extension<T, U : ICompatibleWith<T>> VECTOR<U> : ICompatibleWith<VECTOR<T>> {} 15 16void main() 17{}