// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++11 %s
typedef int&& irr;
typedef irr& ilr_c1; // Collapses to int&
typedef int& ilr;
typedef ilr&& ilr_c2; // Collapses to int&
irr
;
int ;
not_int ;
int ;
not_int ;
;
typedef void ;
void ;
fun_type &&;
void
int&&
int&&
// Test the return dance. This also tests IsReturnCopyElidable.
;
MoveOnly gmo;
MoveOnly