aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2005-01-03-StaticInitializers.cpp
blob: 27da715c1479db568fb3e17d7257d685cea5973e (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)&(((struct S*)0)->A[1]);