mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 02:41:20 +00:00
7 lines
208 B
C
7 lines
208 B
C
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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) { }; }
|
|
|