(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
constexpr-ref10.C
// { dg-do compile { target c++11 } }

int &&r = 42;
static_assert (r, "");		// { dg-error "temporary" }
// { dg-prune-output "assert" }