summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/PR6747.cpp
blob: 5a07ce6220136d1a114753bb679b7590de520e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s

struct foo {
  virtual void bar();
// CHECK: define available_externally void @_ZN3foo3bazEv
  virtual void baz() {}
};
void zed() {
  foo b;
  b.baz();
}
OpenPOWER on IntegriCloud