summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-method.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-method.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-method.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-method.cpp b/clang/test/CodeGenCXX/debug-info-method.cpp
new file mode 100644
index 0000000..cb022bc
--- /dev/null
+++ b/clang/test/CodeGenCXX/debug-info-method.cpp
@@ -0,0 +1,6 @@
+// RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_ACCESS_protected
+class A {
+protected:
+ int foo();
+};
+A a;