Skip to content

Commit 757bc55

Browse files
committed
Tighten up CHECK lines added in a9f10eb to work on ARM.
On ARM platforms, the compiler generates an additional line containing `-CXXRecordDecl which is not the intended line, but preceeds the intended match causing the test to fail.
1 parent 4066591 commit 757bc55

File tree

1 file changed

+1
-1
lines changed
  • clang/test/Import/struct-and-var

1 file changed

+1
-1
lines changed

clang/test/Import/struct-and-var/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: clang-import-test -dump-ast --import %S/Inputs/S1.cpp --import %S/Inputs/S2.cpp -expression %s | FileCheck %s
22

3-
// CHECK: `-CXXRecordDecl
3+
// CHECK: {{^`-CXXRecordDecl}}
44
// CHECK-SAME: Inputs/S2.cpp:1:1, line:3:1> line:1:8 struct F
55

66
void expr() {

0 commit comments

Comments
 (0)