Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype23.C
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
;