File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ int simple_add(int i) {
15
15
int main () {
16
16
queue q;
17
17
#if defined(SYCL2020)
18
- // expected-warning@Inputs/sycl.hpp:312 {{Passing kernel functions by value is deprecated in SYCL 2020}}
18
+ // expected-warning@Inputs/sycl.hpp:{{[0-9]+}} {{Passing kernel functions by value is deprecated in SYCL 2020}}
19
19
// expected-note@+3 {{in instantiation of function template specialization}}
20
20
#endif
21
21
q.submit ([&](handler &h) {
22
22
h.single_task_2017 <class sycl2017 >([]() { simple_add (10 ); });
23
23
});
24
24
25
25
#if defined(SYCL2017)
26
- // expected-warning@Inputs/sycl.hpp:307 {{Passing of kernel functions by reference is a SYCL 2020 extension}}
26
+ // expected-warning@Inputs/sycl.hpp:{{[0-9]+}} {{Passing of kernel functions by reference is a SYCL 2020 extension}}
27
27
// expected-note@+3 {{in instantiation of function template specialization}}
28
28
#endif
29
29
q.submit ([&](handler &h) {
You can’t perform that action at this time.
0 commit comments