// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
// RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
// XFAIL: *
extern "C" int ;
;
S::operator int
int
;
X x;
;
Z z;
;
Y y;
int count=0;
;
void
int
// Test. Conversion in base class is visible in derived class.
;
;
void
;
// CHECK-LP64: .globl __ZN1ScviEv
// CHECK-LP64-NEXT: __ZN1ScviEv:
// CHECK-LP64: callq __ZN1Ycv1ZEv
// CHECK-LP64: callq __ZN1Zcv1XEv
// CHECK-LP64: callq __ZN1XcviEv
// CHECK-LP64: callq __ZN1XcvfEv
// CHECK-LP64: callq __ZN2XBcviEv
// CHECK-LP64: callq __ZN2YbcvcEv
// CHECK-LP32: .globl __ZN1ScviEv
// CHECK-LP32-NEXT: __ZN1ScviEv:
// CHECK-LP32: call L__ZN1Ycv1ZEv
// CHECK-LP32: call L__ZN1Zcv1XEv
// CHECK-LP32: call L__ZN1XcviEv
// CHECK-LP32: call L__ZN1XcvfEv
// CHECK-LP32: call L__ZN2XBcviEv
// CHECK-LP32: call L__ZN2YbcvcEv