[PATCH] Add testcase for PR43850

Richard Guenther rguenther@suse.de
Thu Jul 22 14:18:00 GMT 2010


Committed.

2010-07-22  Richard Guenther  <rguenther@suse.de>

	PR lto/43850
	* g++.dg/lto/20100722-1_0.C: New testcase.

Index: testsuite/g++.dg/lto/20100722-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20100722-1_0.C	(revision 0)
+++ testsuite/g++.dg/lto/20100722-1_0.C	(revision 0)
@@ -0,0 +1,5 @@
+/* { dg-lto-do assemble } */
+
+template <class T> void void_cast_register(T *) __attribute__ ((used));
+template <class T> void void_cast_register(T *) { }
+



More information about the Gcc-patches mailing list