YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenCXX/pr9130.cpp

15 lines
342 B
C++
Raw Normal View History

// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
class nsOggCodecState {
virtual int StartTime() {
return -1;
}
};
class nsVorbisState : public nsOggCodecState {
virtual ~nsVorbisState();
};
nsVorbisState::~nsVorbisState() {
}
// CHECK: define linkonce_odr i32 @_ZN15nsOggCodecState9StartTimeEv