101e04c3fSmrg#version 130
201e04c3fSmrg
301e04c3fSmrgout int fooOut;
401e04c3fSmrg
501e04c3fSmrgvoid main()
601e04c3fSmrg{
701e04c3fSmrg  int defined = 2;
801e04c3fSmrg  int undefined;
901e04c3fSmrg  int fooInt;
1001e04c3fSmrg
1101e04c3fSmrg  defined = fooOut;
1201e04c3fSmrg  fooOut = undefined;
1301e04c3fSmrg  /* Technically at this point fooOut is still undefined. But it was
1401e04c3fSmrg   * initialized that is what the unitialized warning detects in any
1501e04c3fSmrg   * case. "Real undefined" is beyond the scope of what mesa is/should
1601e04c3fSmrg   * detect*/
1701e04c3fSmrg  defined = fooOut;
1801e04c3fSmrg}
1901e04c3fSmrg
20