projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Test case for r97851.
[oota-llvm.git]
/
test
/
FrontendC
/
2005-03-05-OffsetOfHack.c
1
// RUN: %llvmgcc %s -S -o -
2
3
struct s {
4
unsigned long int field[0];
5
};
6
7
#define OFFS \
8
(((char *) &((struct s *) 0)->field[0]) - (char *) 0)
9
10
int foo[OFFS];
11
12