| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
| 2 | |||||
| 3 | typedef struct { } rwlock_t; | ||||
| 4 | struct fs_struct { rwlock_t lock; int umask; }; | ||||
| 5 | void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; } | ||||
| 6 | |||||