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