//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // test that includes and #include #include "test_macros.h" template __host__ __device__ void test_typedef() {} int main(int, char**) { #ifdef _LIBCUDACXX_HAS_STRING { // test for cuda::std::string s; ((void) s); } #endif { // test for test_typedef(); test_typedef(); test_typedef(); test_typedef(); } return 0; }