llvm-project/clang/test/Parser/cuda-check-input-kind-assoc.cuh
Anatoliy Tomilov e7c7a19826 [Frontend] Treat .cuh files as CUDA source files
to synchronize with tools/clang-format/git-clang-format

tra: Keeping them in sync does have a minor benefit of not raising a question why the two maps are different.

Differential Revision: https://reviews.llvm.org/D91034
2020-11-12 11:42:53 -08:00

6 lines
143 B
Plaintext

// RUN: %clang_cc1 -fsyntax-only -Werror %s
// Check input kind association for cuh extension.
__attribute__((host, device)) void hd_fn() {}