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
RISC-V: Add testcases for signed imm SAT_ADD form1
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-auto1.C
blob
d13e2c0da191dadcbe093b5832bd3d30d3ffebc4
1
// PR c++/50437
2
// { dg-do compile { target c++11 } }
3
4
template <typename T>
5
void f()
6
{
7
auto g = [](T t){ return t == 0; };
8
g(T());
9
}
10
11
int main()
12
{
13
f<int>();
14
}