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