☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype23.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/decltype23.C
code
plain
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;