Skip to content

Commit 0cc3974

Browse files
committed
Separate win and lin tests for bit_cast
1 parent 81d9caa commit 0cc3974

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

sycl/test/regression/bit_cast.cpp renamed to sycl/test/regression/bit_cast.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// RUN: %clangxx -fsycl -fsycl-host-compiler=g++ -fsycl-host-compiler-options='-std=c++17' %s -o %t.out
21
// The purpose of this test is to check that the following code can be
32
// successfully compiled
43

sycl/test/regression/bit_cast_lin.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: %clangxx -fsycl -fsycl-host-compiler=g++ -fsycl-host-compiler-options='-std=c++17' %s -o %t.out
2+
// UNSUPPORTED: windows
3+
4+
#include "bit_cast.hpp"

sycl/test/regression/bit_cast_win.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: %clangxx -fsycl -fsycl-host-compiler=cl -fsycl-host-compiler-options='-std=c++17' %s -o %t.out
2+
// UNSUPPORTED: linux
3+
4+
#include "bit_cast.hpp"

0 commit comments

Comments
 (0)