Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty3.C
blob: a9cd98fa4e5e6cee057eba73f2ed5ba091794b8e [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
IsLiteral
{};
constexpr
auto
ab
=
IsLiteral
();
constexpr
IsLiteral
bar
(
IsLiteral
x
)
{
return
x
;
}
constexpr
auto
xy
=
bar
(
ab
);