Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-nsdmi1.C
blob: b94cf3099f4b101df9e5fea3dc72eb6c87787f28 [
file
] [
log
] [
blame
]
// PR c++/79592
// { dg-do compile { target c++11 } }
struct
pthread_mutex
{
void
*
m_ptr
;
};
struct
M
{
pthread_mutex m
=
{
((
void
*)
1LL
)
};
// { dg-error "reinterpret_cast" }
};
constexpr
M m
;
// { dg-error "M::M" }