repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype23.C
blob
731eed708e54e60a402099816d53ee1b7e1c51b2
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;