repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
init5.C
blob
ab529beb98fd34c49685404bf71022f8de1bbeb6
1
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 31 May 2005 <nathan@codesourcery.com>
3
4
// PR 21165. ICE on valid
5
// Origin:Volker Reichelt reichelt@gcc.gnu.org
6
7
template<typename T> bool foo()
8
{
9
const int i = T();
10
return i > 0;
11
}