1 // { dg-do compile { target c++11 } }
2 
3 int &&r = 42;
4 static_assert (r, "");		// { dg-error "temporary" }
5 // { dg-prune-output "assert" }
6