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
/
pr68278.C
blob
0336222ba5e950b538a2c8b8898dd555d63ecf84
1
// { dg-do compile { target c++14 } }
2
3
int main()
4
{
5
auto f = []() { return 1; };
6
7
auto q = [=](auto g) {
8
using type = decltype(g(f()));
9
};
10
q([](int x){ return x; });
11
}