[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / CodeGenCXX / virt-dtor-key.cpp
blobd3b9ab3351518dc5ce411566071f2ed4674d82e3
1 // RUN: %clang_cc1 -triple i386-linux -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple i386-windows-gnu -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MINGW
3 // CHECK: @_ZTI3foo ={{.*}} constant
4 // CHECK-MINGW: @_ZTI3foo = linkonce_odr
5 class foo {
6 foo();
7 virtual ~foo();
8 };
10 foo::~foo() {