#version 130

void fooFunction(out float outVar);

out float fooOut;

void main()
{
   float willBeDefined;

   fooFunction(willBeDefined);
   fooOut = willBeDefined;
}