Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty3.C
blob: e0026fcc76030767ea172dda25a223b18e2b4c0a [
file
] [
log
] [
blame
]
// { dg-options -std=c++0x }
struct
IsLiteral
{};
constexpr
auto
ab
=
IsLiteral
();
constexpr
IsLiteral
bar
(
IsLiteral
x
)
{
return
x
;
}
constexpr
auto
xy
=
bar
(
ab
);