blob: 731eed708e54e60a402099816d53ee1b7e1c51b2 [file] [log] [blame]
// { dg-do compile { target c++11 } }
int x, &&y = static_cast<int &&>(x);
typedef decltype((y)) myInt; // `y' is a parenthesized id-expression of type int that is an lvalue
typedef int &myInt;