Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;