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
Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-defarg7.C
blob
f67dfee8fdf2e16735b94a1cb6e26f66763cf4da
1
// PR c++/82053
2
// { dg-do compile { target c++14 } }
3
4
template<class T>
5
int fn() { return 42; }
6
7
template<class T>
8
auto lam = [](int = fn<T>()){};
9
10
int main()
11
{
12
lam<int>();
13
}