Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty.C
blob: 42f873bb334af33be95cd283fd203c2f27be9200 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
Empty
{};
constexpr
bool
f
(
Empty
)
{
return
true
;
}
constexpr
bool
x
(
f
(
Empty
{}));