We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b0c7bb commit 3d85911Copy full SHA for 3d85911
sycl/test/extensions/WorkGroupMemory/api_misuse_test.cpp
@@ -32,11 +32,9 @@ template <typename DataT> void test_unbounded_arr() {
32
});
33
}
34
35
-template <typename DataT, typename... DataTs> void test() {
36
- test_bounded_arr<DataT>();
37
- test_unbounded_arr<DataT>();
38
- if constexpr (sizeof...(DataTs))
39
- test<DataTs...>();
+template <typename... DataTs> void test() {
+ (test_bounded_arr<DataTs>(), ...);
+ (test_unbounded_arr<DataTs>(), ...);
40
41
42
int main() {
0 commit comments