New testcase for -flto -g

Submitted by Richard Guenther on Dec. 13, 2011, 12:38 p.m.

Details

Message ID alpine.LNX.2.00.1112131337390.4527@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Guenther Dec. 13, 2011, 12:38 p.m.
Committed.

Richard.

2011-12-13  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/lto/20111213-1_0.c: New testcase.

Patch hide | download patch | download mbox

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;
+}