summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/field-access-debug-info.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-12-13 05:09:22 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-12-13 05:09:22 +0000
commit9081c049eca577f6253a4782bc047aeae38566c0 (patch)
tree5bad955051a7d8545c5eef23b9ee3032280426d3 /test/CodeGenCXX/field-access-debug-info.cpp
parent70d085aaad33bd3864f621dbc1defab5368819e8 (diff)
Testcase for LLVM commit r146475.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/field-access-debug-info.cpp')
-rw-r--r--test/CodeGenCXX/field-access-debug-info.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGenCXX/field-access-debug-info.cpp b/test/CodeGenCXX/field-access-debug-info.cpp
index 907fe04be5..fd899ed71e 100644
--- a/test/CodeGenCXX/field-access-debug-info.cpp
+++ b/test/CodeGenCXX/field-access-debug-info.cpp
@@ -1,5 +1,8 @@
-// RUN: %clang_cc1 -g -S -masm-verbose -o %t %s
-// RUN: grep DW_AT_accessibility %t
+// RUN: %clang_cc1 -g -S -masm-verbose -o - %s | FileCheck %s
+
+// CHECK: abbrev_begin:
+// CHECK: DW_AT_accessibility
+// CHECK-NEXT: DW_FORM_data1
class A {
public: