Fix a case where ScalarEvolution was expanding pointer arithmetic
[oota-llvm.git] / test / FrontendC++ / 2005-01-03-StaticInitializers.cpp
1 // RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
2
3 struct S {
4   int  A[2];
5 };
6
7 int XX = (int)(long)&(((struct S*)0)->A[1]);
8