projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/53821 ([c++11] multiple definitions of lambda)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-template6.C
1
// PR c++/53821
2
// { dg-final { scan-assembler-not "_ZZ1fIvEvvENKUlvE_cvPFvvEEv" } }
3
// { dg-do compile { target c++11 } }
4
5
template <class T> void f()
6
{
7
auto g = []{};
8
g();
9
}
10
11
int main()
12
{
13
f<void>();
14
}