Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
53859912e4b5c4493e28c9ead8d634fdaac6adaf
/
.
/
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
();
}