blob: 8df7231df6aced1769b7add0077bf71173797f0b [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc %s -S -o -
2
3struct s {
4 unsigned long int field[0];
5};
6
7#define OFFS \
8 (((char *) &((struct s *) 0)->field[0]) - (char *) 0)
9
10int foo[OFFS];
11
12