summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2005-01-03-StaticInitializers.cpp
blob: da1b005cf4ab7cf0a9894985d974cd681f428ff2 (plain)
1
2
3
4
5
6
7
8
// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor

struct S {
  int  A[2];
};

int XX = (int)(long)&(((struct S*)0)->A[1]);