summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/pr9130.cpp
blob: b28f3940e4e64d174a7d5b510e71ea89645d64f4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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