Sign in
android
/
toolchain
/
rustc
/
635618df8991b8a005e435895ea0b1eee7e3faf0
/
.
/
src
/
llvm-project
/
clang
/
test
/
Sema
/
struct-cast.c
blob: 74d00c42c295e039afac92a1f813322f775d2993 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only %s -verify
// expected-no-diagnostics
struct
S
{
int
one
;
int
two
;
};
struct
S
const
foo
(
void
);
struct
S tmp
;
void
priv_sock_init
(
void
)
{
tmp
=
(
struct
S
)
foo
();
}