Skip to content

Commit f585393

Browse files
committed
Use expected-no-diagnostics in test
Signed-off-by: JackAKirk <[email protected]>
1 parent c3667fe commit f585393

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sycl/test/basic_tests/interop-hip.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: hip
2-
// RUN: %clangxx %fsycl-host-only -fsyntax-only -Xclang -verify -Xclang -verify-ignore-unexpected=note %s
3-
// RUN: %clangxx %fsycl-host-only -fsyntax-only -Xclang -verify -Xclang -verify-ignore-unexpected=note -D__SYCL_INTERNAL_API %s
2+
// RUN: %clangxx %fsycl-host-only -fsyntax-only -Xclang -verify %s
3+
// RUN: %clangxx %fsycl-host-only -fsyntax-only -Xclang -verify -D__SYCL_INTERNAL_API %s
44

55
// Test for HIP interop API
66

@@ -51,6 +51,7 @@ int main() {
5151
// backend-defined and specified in the backend specification.
5252

5353
hip_device = get_native<backend::ext_oneapi_hip>(Device);
54+
// expected-no-diagnostics
5455
hip_context = get_native<backend::ext_oneapi_hip>(Context);
5556
hip_event = get_native<backend::ext_oneapi_hip>(Event);
5657
hip_queue = get_native<backend::ext_oneapi_hip>(Queue);

0 commit comments

Comments
 (0)