Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-noexcept6.C

raw
1 // PR c++/51305
2 // { dg-do compile { target c++11 } }
3
4 constexpr bool ok() noexcept
5 {
6 typedef int type;
7 return true;
8 }
9
10 constexpr auto x = ok();