parent
f246ef3e2f
commit
15ac102737
|
@ -0,0 +1,12 @@
|
|||
// RUN: %llvmgcc %s -S -o -
|
||||
|
||||
struct s {
|
||||
unsigned long int field[0];
|
||||
};
|
||||
|
||||
#define OFFS \
|
||||
(((char *) &((struct s *) 0)->field[0]) - (char *) 0)
|
||||
|
||||
int foo[OFFS];
|
||||
|
||||
|
Loading…
Reference in New Issue