Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
eb2da206d94dcfcb579036969145a8bdb52e7e72
/
.
/
Tests
/
CompileFeatures
/
cxx_decltype_incomplete_return_types.cpp
blob: 74bcbe148e235c70b048104ec4aa25a75f10791f [
file
] [
log
] [
blame
]
template
<
class
T
>
struct
A
{
~
A
()
=
delete
;
};
template
<
class
T
>
auto
h
()
->
A
<
T
>;
template
<
class
T
>
auto
i
(
T
)
->
T
;
template
<
class
T
>
auto
f
(
T
)
->
decltype
(
i
(
h
<
T
>()));
template
<
class
T
>
auto
f
(
T
)
->
void
;
auto
g
()
->
void
{
f
(
42
);
}