Skip to content

Commit df3902f

Browse files
committed
Formatting changes
1 parent 5c0c4b3 commit df3902f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/test/extensions/WorkGroupMemory/api_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: %clangxx -fsycl -fsyntax-only %s
12
#include <cassert>
23
#include <sycl/sycl.hpp>
34
#include <type_traits>
@@ -82,7 +83,7 @@ void test_helper(syclexp::work_group_memory<DataT> mem) {
8283
}
8384

8485
template <typename Type, typename... rest> void test() {
85-
syclexp::work_group_memory<Type> mem;
86+
syclexp::work_group_memory<Type> mem{syclexp::indeterminate};
8687
test_constness<Type>();
8788
test_helper(mem);
8889
if constexpr (sizeof...(rest))

0 commit comments

Comments
 (0)