1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
3 // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
4 // RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
5 // RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
8 extern "C" int printf(...);
10 struct obj{ int a; float b; double d; };
13 printf("%d %f %f\n", o.a, o.b, o.d);
21 // CHECK-LP64: callq __Z3foo3obj
23 // CHECK-LP32: calll __Z3foo3obj