Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-noexcept6.C
blob: 76d9246d6f169de8d1f3bb23e639ce9928f38210 [
file
] [
log
] [
blame
]
// PR c++/51305
// { dg-do compile { target c++11 } }
constexpr
bool
ok
()
noexcept
{
typedef
int
type
;
return
true
;
}
constexpr
auto
x
=
ok
();