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
/
sizeof10.C
blob
5ecf13e13208ceefdd1dbf989172151499bc0149
1
// PR c++/23357
2
3
template<typename T> bool foo()
4
{
5
const long int i = sizeof(T) > 1 ? sizeof(T) : 0;
6
return i > 0;
7
}