Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty.C
blob: a9fc4388a34b18e67a3075fa2fc7dbfe4f93a5d1 [
file
] [
log
] [
blame
]
// { dg-options -std=c++0x }
struct
Empty
{};
constexpr
bool
f
(
Empty
)
{
return
true
;
}
constexpr
bool
x
(
f
(
Empty
{}));