repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
Parser
/
cxx0x-rvalue-reference.cpp
blob
ae568e8859c0b185522985777f810312405f51dc
1
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
2
3
int
&&
r1
(
int
&&
a
);
4
5
typedef
int
&&
R
;
6
void
r2
(
const
R a
) {
7
int
& &&
ar
=
a
;
// expected-error{{'ar' declared as a reference to a reference}}
8
}
9