Committed. Richard.
2011-12-13 Richard Guenther <rguent...@suse.de> * gcc.dg/lto/20111213-1_0.c: New testcase. Index: gcc/testsuite/gcc.dg/lto/20111213-1_0.c =================================================================== --- gcc/testsuite/gcc.dg/lto/20111213-1_0.c (revision 0) +++ gcc/testsuite/gcc.dg/lto/20111213-1_0.c (revision 0) @@ -0,0 +1,8 @@ +/* { dg-lto-do link } */ +/* { dg-lto-options { { -flto -g } } } */ +/* { dg-extra-ld-options {-r -nostdlib} } */ + +void gfc_be_parse_file (void) +{ + typedef enum builtin_type builtin_type; +}