Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
test
/
CodeGen
/
2003-11-04-EmptyStruct.c
blob: e771b8830070d79e3110a23be47fc51d7021a857 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
typedef
struct
{
}
rwlock_t
;
struct
fs_struct
{
rwlock_t
lock
;
int
umask
;
};
void
__copy_fs_struct
(
struct
fs_struct
*
fs
)
{
fs
->
lock
=
(
rwlock_t
)
{
};
}