// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// p3
// A glvalue of type "cv1 T1" can be cast to type "rvalue reference to
// cv2 T2" if "cv2 T2" is reference-compatible with "cv1 T1" (8.5.3).
// p4
// Otherwise, an expression e can be explicitly converted to a type T using a
// static_cast of the form static_cast<T>(e) if the declaration T t(e); is
// well-formed, for some invented temporary variable t (8.5). [...]
;
;
;
;
T& ;
T&& ;
T ;
void