Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2005-03-05-OffsetOfHack.c
blob442098107504b306a6b1bd99f8a5d2d06a94414c
1 // RUN: %clang_cc1 %s -emit-llvm -o -
3 struct s {
4 unsigned long int field[0];
5 };
7 #define OFFS \
8 (((char *) &((struct s *) 0)->field[0]) - (char *) 0)
10 int foo[OFFS];