2017-09-01 14:41:55 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-linux -emit-llvm %s -o - | FileCheck %s
|
|
|
|
// RUN: %clang_cc1 -triple i386-windows-gnu -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MINGW
|
2014-02-08 11:26:05 +08:00
|
|
|
// CHECK: @_ZTI3foo = constant
|
2017-09-01 14:41:55 +08:00
|
|
|
// CHECK-MINGW: @_ZTI3foo = linkonce_odr
|
2009-11-27 09:42:12 +08:00
|
|
|
class foo {
|
|
|
|
foo();
|
|
|
|
virtual ~foo();
|
|
|
|
};
|
|
|
|
|
|
|
|
foo::~foo() {
|
|
|
|
}
|