Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2003-11-04-EmptyStruct.c
blobb4f37befffa0b9908c84d3f0ffc5760c28f05834
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
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) { }; }