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
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
pr99833.C
blob
33230535e102a3a94683d2c464f940aa645d7edc
1
// PR c++/99833
2
// { dg-do compile { target c++20 } }
3
4
#include <tuple>
5
6
auto f(auto&& x)
7
{
8
[&](auto...) {
9
auto y = std::tuple{ "what's happening here?", x };
10
if constexpr (auto [_, z] = y; requires { z; })
11
return;
12
}();
13
}
14
15
int main()
16
{
17
f(42);
18
}