blob: 925ac4eb2e44953556db1f9ffe27c6dd3575c498 [file] [log] [blame]
// { dg-do compile { target c++11 } }
int &&r = 42;
static_assert (r, ""); // { dg-error "temporary" }
// { dg-prune-output "assert" }