minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/pr9130.cpp

15 lines
348 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-LABEL: define linkonce_odr i32 @_ZN15nsOggCodecState9StartTimeEv