aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/2005-01-03-StaticInitializers.cpp
blob: 0791d9fd83f8b9b80d2e9333a556d4da4e904ab9 (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]);