[cfe-commits] r128966 - /cfe/trunk/test/CodeGenCXX/debug-info-this.cpp
Devang Patel
dpatel at apple.com
Tue Apr 5 17:01:52 PDT 2011
Author: dpatel
Date: Tue Apr 5 19:01:52 2011
New Revision: 128966
URL: http://llvm.org/viewvc/llvm-project?rev=128966&view=rev
Log:
Add a test case for r128957. It fixed a bug!
Added:
cfe/trunk/test/CodeGenCXX/debug-info-this.cpp
Added: cfe/trunk/test/CodeGenCXX/debug-info-this.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-this.cpp?rev=128966&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-this.cpp (added)
+++ cfe/trunk/test/CodeGenCXX/debug-info-this.cpp Tue Apr 5 19:01:52 2011
@@ -0,0 +1,15 @@
+// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
+// Radar 9239104
+class Class
+{
+public:
+//CHECK: DW_TAG_const_type
+ int foo (int p) const {
+ return p+m_int;
+ }
+
+protected:
+ int m_int;
+};
+
+Class c;
More information about the cfe-commits
mailing list