Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
();