1 // { dg-do compile { target c++11 } } 2 3 int x, &&y = static_cast<int &&>(x); 4 typedef decltype((y)) myInt; // `y' is a parenthesized id-expression of type int that is an lvalue 5 typedef int &myInt; 6