forked from OSchip/llvm-project
12 lines
309 B
C++
12 lines
309 B
C++
// 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
|
|
// CHECK: @_ZTI3foo = constant
|
|
// CHECK-MINGW: @_ZTI3foo = linkonce_odr
|
|
class foo {
|
|
foo();
|
|
virtual ~foo();
|
|
};
|
|
|
|
foo::~foo() {
|
|
}
|