repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC++
/
2008-05-07-CrazyOffsetOf.cpp
blob
f1831976f4ecd549810a18ff76d2a53655544944
1
// RUN: %llvmgxx -S %s -o -
2
// rdar://5914926
3
4
struct
bork
{
5
struct
bork
*
next_local
;
6
char
*
query
;
7
};
8
int
offset
= (
char
*) &(((
struct
bork
*)
0x10
)->
query
) - (
char
*)
0x10
;