forked from OSchip/llvm-project
12 lines
209 B
C++
12 lines
209 B
C++
|
// 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();
|
||
|
}
|