* g++.old-deja/g++.other/comdat5.C: New test.
* g++.old-deja/g++.other/comdat5-aux.cc: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108245
138bc75d-0d04-0410-961f-
82ee72b054a4
2005-12-08 Jakub Jelinek <jakub@redhat.com>
+ PR target/17828
+ * g++.old-deja/g++.other/comdat5.C: New test.
+ * g++.old-deja/g++.other/comdat5-aux.cc: New file.
+
* g++.dg/compat/struct-layout-1.exp: New file.
* g++.dg/compat/struct-layout-1.h: New.
* g++.dg/compat/struct-layout-1_generate.c: New.
--- /dev/null
+#include "comdat4-aux.cc"
--- /dev/null
+// PR target/17828
+// { dg-do link }
+// { dg-additional-sources " comdat5-aux.cc" }
+// { dg-options "-O2 -fPIC" }
+
+#include "comdat4.C"