Eric Christopher | 2368b6a | 2011-08-20 00:09:39 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s |
NAKAMURA Takumi | b774d73 | 2012-09-12 10:45:40 +0000 | [diff] [blame] | 2 | // REQUIRES: LP64 |
Eric Christopher | 2368b6a | 2011-08-20 00:09:39 +0000 | [diff] [blame] | 3 | |
4 | struct S { | ||||
5 | int A[2]; | ||||
6 | }; | ||||
7 | |||||
8 | // CHECK-NOT: llvm.global_ctor | ||||
9 | int XX = (int)(long)&(((struct S*)0)->A[1]); |