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