projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
all this logic always returns true because GOT mode is never active in x86-64 mode.
[oota-llvm.git]
/
test
/
FrontendC++
/
2008-05-07-CrazyOffsetOf.cpp
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;