Skip to content

Commit 360264c

Browse files
committed
Add license to memory_adl.cpp
1 parent 194cd00 commit 360264c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

sycl/test/syclcompat/memory_adl.cpp

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/***************************************************************************
2+
*
3+
* Copyright (C) Codeplay Software Ltd.
4+
*
5+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM
6+
* Exceptions. See https://llvm.org/LICENSE.txt for license information.
7+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*
15+
* SYCLcompat API
16+
*
17+
* memory_adl.cpp
18+
*
19+
* Description:
20+
* Tests to ensure global namespace functions don't clash via ADL
21+
**************************************************************************/
22+
123
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -fsyntax-only
224
// Test that no syclcompat:: functions clash with global namespace fns due to ADL
325
#include <sycl/sycl.hpp>

0 commit comments

Comments
 (0)