Patchwork Add testcase for PR43850

login
register
mail settings
Submitter Richard Guenther
Date July 22, 2010, 2:18 p.m.
Message ID <alpine.LNX.2.00.1007221618320.1429@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/59579/
State New
Headers show

Comments

Richard Guenther - July 22, 2010, 2:18 p.m.
Committed.

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

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

Patch

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 *) { }
+