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