1 // RUN: %clang_cc1 -E -triple x86_64-linux-gnu %s -o - \
2 // RUN: | FileCheck -check-prefix=NOHDT %s
3 // RUN: %clang_cc1 -E -triple x86_64-linux-gnu %s -o - \
4 // RUN: -foffload-implicit-host-device-templates \
5 // RUN: | FileCheck -check-prefix=HDT %s
7 // NOHDT: no_implicit_host_device_templates
8 // HDT: has_implicit_host_device_templates
9 #if __has_extension(cuda_implicit_host_device_templates)
10 int has_implicit_host_device_templates();
12 int no_implicit_host_device_templates();