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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-noexcept1.C
blob
082aff9261d920a1fb78ac5dc84e33c40c05ff5c
1
// PR c++/79590
2
// { dg-do compile { target c++14 } }
3
4
auto f = [](auto x) noexcept(noexcept(x)) { };
5
6
int main()
7
{
8
[](auto x) noexcept(noexcept(x)) { } (0);
9
[](auto) noexcept(noexcept(0)) { } (0);
10
}