PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / init5.C
blobab529beb98fd34c49685404bf71022f8de1bbeb6
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 31 May 2005 <nathan@codesourcery.com>
4 // PR 21165. ICE on valid
5 // Origin:Volker Reichelt  reichelt@gcc.gnu.org
7 template<typename T> bool foo()
9     const int i = T();
10     return i > 0;