Debian Codegraph @

clang/test/CodeGenCXX/virt-dtor-key.cpp

raw
1 // RUN: %clang_cc1 -triple i686-linux -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple i686-windows-gnu -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MINGW
3 // RUN: %clang_cc1 -triple x86_64-windows-gnu -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MINGW
4 // RUN: %clang_cc1 -triple i686-pc-cygwin -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MINGW
5 // RUN: %clang_cc1 -triple x86_64-pc-cygwin -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MINGW
6
7 // CHECK: @_ZTI3foo ={{.*}} constant
8 // CHECK-MINGW: @_ZTI3foo = linkonce_odr
9 class foo {
10 foo();
11 virtual ~foo();
12 };
13
14 foo::~foo() {
15 }