Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
Sema
/
struct-cast.c
blob: 734be804e6e5b3b1f275bca2747f41678ca64cc1 [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only %s -verify
struct
S
{
int
one
;
int
two
;
};
struct
S
const
foo
(
void
);
struct
S tmp
;
void
priv_sock_init
()
{
tmp
=
(
struct
S
)
foo
();
}