]> granicus.if.org Git - clang/commitdiff
Test case for r115067.
authorDevang Patel <dpatel@apple.com>
Wed, 29 Sep 2010 19:08:35 +0000 (19:08 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 29 Sep 2010 19:08:35 +0000 (19:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115068 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-member.cpp [new file with mode: 0644]

diff --git a/test/CodeGenCXX/debug-info-member.cpp b/test/CodeGenCXX/debug-info-member.cpp
new file mode 100644 (file)
index 0000000..5052a6c
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: %clang -fverbose-asm -cc1 -g -S %s -o - | grep DW_ACCESS_public
+class A {
+public:
+  int x;
+}; 
+A a;