Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/decltype23.C

raw
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;