aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/cxx11-vtable-key-function.cpp
blob: 705a4addf636c17bbf009c2ffdca5ba48d85d1fa (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -std=c++11 | FileCheck %s
// PR13424

struct X {
  virtual ~X() = default;
  virtual void f();
};

void X::f() {}

// CHECK: @_ZTV1X = unnamed_addr constant