blob: 28938fcebfd8f37c5180ed6c89225565709444c5 [file] [log] [blame]
Fariborz Jahanian1d9b5ef2009-08-15 18:55:17 +00001// RUN: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s &&
2// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s &&
3// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s &&
4// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s &&
5// RUN: true
6
7extern "C" int printf(...);
8
9struct S {
10 S() { printf("S::S()\n"); }
11 int iS;
12};
13
14struct M {
15 S ARR_S;
16};
17
18int main() {
19 M m1;
20}
21
22// CHECK-LP64: call __ZN1SC1Ev
23
24// CHECK-LP32: call L__ZN1SC1Ev