summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/field-access-debug-info.cpp
diff options
context:
space:
mode:
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 907fe04..fd899ed 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:
OpenPOWER on IntegriCloud