Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CXX
/
expr
/
expr.post
/
expr.type.conv
/
p1-0x.cpp
blob: 568c61b95fb99b29755402697481983823d39e13 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// expected-no-diagnostics
struct
foo
{
foo
();
foo
(
int
);
};
int
func
(
foo
&
f
)
{
decltype
(
foo
())();
f
=
(
decltype
(
foo
()))
5
;
return
decltype
(
3
)(
5
);
}