mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 05:31:06 +00:00
new testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
268e7d7a94
commit
8c073c04bc
8
test/C++Frontend/2008-05-07-CrazyOffsetOf.cpp
Normal file
8
test/C++Frontend/2008-05-07-CrazyOffsetOf.cpp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// RUN: %llvmgxx -S %s -o -
|
||||||
|
// rdar://5914926
|
||||||
|
|
||||||
|
struct bork {
|
||||||
|
struct bork *next_local;
|
||||||
|
char * query;
|
||||||
|
};
|
||||||
|
int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10;
|
Loading…
Reference in New Issue
Block a user