yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeAdd diagnostic to verify the left hand side of a generic constraint. (#5112)b4c851fb1

master
205 B7 linesraw
1//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
2
3// Check that we can issue diagnostic on invalid left hand side of a type constraint.
4
5// CHECK: ([[# @LINE+1]]): error 30402
6void f<T>() where int : IInteger
7{}