From patchwork Thu Jul 22 14:18:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add testcase for PR43850 Date: Thu, 22 Jul 2010 04:18:48 -0000 From: Richard Guenther X-Patchwork-Id: 59579 Message-Id: To: gcc-patches@gcc.gnu.org Committed. 2010-07-22 Richard Guenther 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 void void_cast_register(T *) __attribute__ ((used)); +template void void_cast_register(T *) { } +