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