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