New testcase for PR533

llvm-svn: 20456
This commit is contained in:
Chris Lattner 2005-03-05 18:47:28 +00:00
parent f246ef3e2f
commit 15ac102737
1 changed files with 12 additions and 0 deletions

View File

@ -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];