blob: f1ae007b51a4bb812bc7667b0ba040c1c69add65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
result code = 1
standard error = {
tests/diagnostics/gh-1374.slang(9): error 39999: the initial-value expression for variable 'kVal' depends on the value of the variable itself
static const int kVal = kVal;
^~~~
tests/diagnostics/gh-1374.slang(11): error 39999: the initial-value expression for variable 'kInf' depends on the value of the variable itself
static const int kInf = kInf + 1;
^~~~
tests/diagnostics/gh-1374.slang(14): error 39999: the initial-value expression for variable 'kB' depends on the value of the variable itself
static const int kB = kA;
^~
}
standard output = {
}
|