Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ref10.C
blob: 925ac4eb2e44953556db1f9ffe27c6dd3575c498 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
int
&&
r
=
42
;
static_assert
(
r
,
""
);
// { dg-error "temporary" }
// { dg-prune-output "assert" }