Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC++ / 2007-10-01-StructResize.cpp
blobd37057a901a4e3f2323f0defc43cfd6c6c7ff7ab
1 // RUN: %llvmgxx -c %s -o /dev/null
3 #pragma pack(4)
5 struct Bork {
6 unsigned int f1 : 3;
7 unsigned int f2 : 30;
8 };
10 int Foo(Bork *hdr) {
11 hdr->f1 = 7;
12 hdr->f2 = 927;