blob: 10ebfc6569214a99d6f4b39b7f89092b1f414771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
result code = -1
standard error = {
tests/diagnostics/implicit-cast-lvalue.slang(19): warning 30081: implicit conversion from 'double' to 'float' is not recommended
a(y);
^
tests/diagnostics/implicit-cast-lvalue.slang(19): error 30047: argument passed to parameter '0' must be l-value.
a(y);
^
tests/diagnostics/implicit-cast-lvalue.slang(19): note 30063: argument was implicitly cast from 'double' to 'float', and Slang does not support using an implicit cast as an l-value with this type
}
standard output = {
}
|