OSDN Git Service

2011-12-13 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 12:41:15 +0000 (12:41 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 12:41:15 +0000 (12:41 +0000)
* gcc.dg/lto/20111213-1_0.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182278 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20111213-1_0.c [new file with mode: 0644]

index a87d4dc..70269cd 100644 (file)
@@ -1,3 +1,7 @@
+2011-12-13  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/lto/20111213-1_0.c: New testcase.
+
 2011-12-13  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/vect1.ad[sb]: Add more tests.
diff --git a/gcc/testsuite/gcc.dg/lto/20111213-1_0.c b/gcc/testsuite/gcc.dg/lto/20111213-1_0.c
new file mode 100644 (file)
index 0000000..e6f5474
--- /dev/null
@@ -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;
+}