Skip to content

Commit 77b12c7

Browse files
author
Erich Keane
committed
Fix Array Kernel Param test--
I think this test was just wrong, it seemed to be checking that we were constructing 2 arrays of accessors instead of accessors themselves. This patch changes those to be just the accessors themselves, which are inside an array of 2 accessors.
1 parent eee0bff commit 77b12c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaSYCL/array-kernel-param.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ int main() {
123123
// CHECK-NEXT: InitListExpr {{.*}} '(lambda at {{.*}}array-kernel-param.cpp{{.*}})'
124124
// CHECK-NEXT: InitListExpr {{.*}} 'struct_acc_t'
125125
// CHECK-NEXT: InitListExpr {{.*}} 'Accessor [2]'
126-
// CHECK-NEXT: CXXConstructExpr {{.*}} 'Accessor [2]'
127-
// CHECK-NEXT: CXXConstructExpr {{.*}} 'Accessor [2]'
126+
// CHECK-NEXT: CXXConstructExpr {{.*}} 'Accessor'
127+
// CHECK-NEXT: CXXConstructExpr {{.*}} 'Accessor'
128128

129129
// Check __init functions are called
130130
// CHECK: CXXMemberCallExpr {{.*}} 'void'

0 commit comments

Comments
 (0)