[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2006-09-27-Debug-Protection.cpp

Jim Laskey jlaskey at apple.com
Wed Sep 27 09:55:34 PDT 2006



Changes in directory llvm/test/Regression/C++Frontend:

2006-09-27-Debug-Protection.cpp added (r1.1)
---
Log message:

Make sure C++ protection shows up in debug info

---
Diffs of the changes:  (+13 -0)

 2006-09-27-Debug-Protection.cpp |   13 +++++++++++++
 1 files changed, 13 insertions(+)


Index: llvm/test/Regression/C++Frontend/2006-09-27-Debug-Protection.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/2006-09-27-Debug-Protection.cpp:1.1
*** /dev/null	Wed Sep 27 11:55:29 2006
--- llvm/test/Regression/C++Frontend/2006-09-27-Debug-Protection.cpp	Wed Sep 27 11:55:19 2006
***************
*** 0 ****
--- 1,13 ----
+ // RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep 'uint 1,' &&
+ // RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep 'uint 2,'
+ 
+ class A {
+ public:
+   int x;
+ protected:
+   int y;
+ private:
+   int z;
+ };
+ 
+ A a;






More information about the llvm-commits mailing list