Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC++ / 2008-05-07-CrazyOffsetOf.cpp
blobf1831976f4ecd549810a18ff76d2a53655544944
1 // RUN: %llvmgxx -S %s -o -
2 // rdar://5914926
4 struct bork {
5 struct bork *next_local;
6 char * query;
7 };
8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10;