Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }