1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \
3 // RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \
6 extern "C" int printf(...);
11 S() : iS (++count
) { printf("S::S(%d)\n", iS
); }
12 ~S() { printf("S::~S(%d)\n", iS
); }
17 V() : iV (++count
) { printf("V::V(%d)\n", iV
); }
18 virtual ~V() { printf("V::~V(%d)\n", iV
); }
37 cost_val
= new unsigned[10];
60 // CHECK: call void @_ZdaPv