2010-03-20 12:15:41 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64 %s -fno-use-cxa-atexit -emit-llvm -o - | FileCheck %s
|
|
|
|
|
2010-06-19 13:52:45 +08:00
|
|
|
// PR7097
|
|
|
|
// RUN: %clang_cc1 -triple x86_64 %s -fno-use-cxa-atexit -mconstructor-aliases -emit-llvm -o - | FileCheck %s
|
|
|
|
|
2010-03-20 12:15:41 +08:00
|
|
|
// CHECK: define internal void @_GLOBAL__D_a()
|
|
|
|
// CHECK: call void @_ZN1AD1Ev(%class.A* @b)
|
|
|
|
// CHECK: call void @_ZN1AD1Ev(%class.A* @a)
|
|
|
|
// CHECK: }
|
|
|
|
|
|
|
|
class A {
|
|
|
|
public:
|
|
|
|
A();
|
|
|
|
~A();
|
|
|
|
};
|
|
|
|
|
|
|
|
A a, b;
|