Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty12.C
blob: 74634424f44bcb3e2eaf1fe7bdba309704d9c88a [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
}
a
;
constexpr
int
f
(
A a
)
{
return
42
;
}
constexpr
int
i
=
f
(
a
);