Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/noexcept-type27.C

raw
1 // PR c++/105221
2 // { dg-do compile { target c++14 } }
3
4 void (*p)(int) = [](auto) noexcept {};
5
6 int main() {
7 true ? [](auto) noexcept {} : [](int) {};
8 }