Debian Codegraph @

gcc/testsuite/g++.dg/modules/late-ret-5.h

raw
1 // PR c++/118630
2
3 namespace test1 {
4 template <typename> decltype([]{}) a();
5 }
6
7 namespace test2 {
8 template <typename T> struct invoke_result {};
9 template <typename T> struct foo {};
10
11 template <typename T>
12 auto b(T&& arg) -> foo<invoke_result<decltype(arg)>> {
13 invoke_result<decltype(arg)> a;
14 return {};
15 }
16 }