blob: 00a7988276ef04942a5092e9c7460655831b61f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#version 130
out int fooOut;
void main()
{
int defined = 2;
int undefined;
int fooInt;
defined = fooOut;
fooOut = undefined;
/* Technically at this point fooOut is still undefined. But it was
* initialized that is what the unitialized warning detects in any
* case. "Real undefined" is beyond the scope of what mesa is/should
* detect*/
defined = fooOut;
}
|