llvm-project/clang/test/CodeGenCXX/pr9130.cpp

15 lines
348 B
C++

// 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