// { dg-do compile } external_reference void exit (int code); static int foo (); foo { automatic int bar = +1; bar = bar + +1; exit (0); // Calling external references is currently broken. return bar; }