[cfe-commits] r124781 - /cfe/trunk/test/CodeGenCXX/pr9130.cpp

Rafael Espindola rafael.espindola at gmail.com
Wed Feb 2 22:36:50 PST 2011


Author: rafael
Date: Thu Feb  3 00:36:50 2011
New Revision: 124781

URL: http://llvm.org/viewvc/llvm-project?rev=124781&view=rev
Log:
Add test from PR9130.

Added:
    cfe/trunk/test/CodeGenCXX/pr9130.cpp

Added: cfe/trunk/test/CodeGenCXX/pr9130.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/pr9130.cpp?rev=124781&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/pr9130.cpp (added)
+++ cfe/trunk/test/CodeGenCXX/pr9130.cpp Thu Feb  3 00:36:50 2011
@@ -0,0 +1,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





More information about the cfe-commits mailing list