From: No Author Date: Wed, 19 Feb 2003 15:28:31 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: releases/gcc-3.2.3~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16db5700c400c006ac8e744bdb444a958a428a29;p=thirdparty%2Fgcc.git This commit was manufactured by cvs2svn to create branch 'gcc-3_2-branch'. From-SVN: r63114 --- diff --git a/gcc/testsuite/g++.dg/ext/typeof4.C b/gcc/testsuite/g++.dg/ext/typeof4.C new file mode 100644 index 000000000000..2f4237035147 --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/typeof4.C @@ -0,0 +1,13 @@ +// { dg-do compile } +// { dg-options "" } + +// Origin: Wolfgang Bangerth + +// PR c++/9459: typeof in return type of template function + +void foo (int) {} +void foo (double) {} + +template +typeof(foo(1)) +bar () { return foo(1); }