Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
4a529d26d6ccfc9b3d11031f1256f4f87055c562
/
.
/
test
/
CXX
/
expr
/
expr.post
/
expr.type.conv
/
p1-0x.cpp
blob: 253744e23f572b82567f5111fc9b2054a52d94df [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
struct
foo
{
foo
();
foo
(
int
);
};
int
func
(
foo
&
f
)
{
decltype
(
foo
())();
f
=
(
decltype
(
foo
()))
5
;
return
decltype
(
3
)(
5
);
}