yum-mirror/slang

Making it easier to work with shaders

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

Ellie HermaszewskaTake into account existing initializer list type when performing coercions (#2641)94b2c6766

master
187 B8 linesraw
1result code = -1
2standard error = {
3tests/bugs/c-style-cast-coerce.slang(15): error 30019: expected an expression of type 'T', got 'S'
4    T t = (S)0;
5          ^
6}
7standard output = {
8}