1 // expected-no-diagnostics
3 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -verify %s
4 // RUN: %clang_cc1 -triple nvptx64-nvidia-cuda -fsyntax-only -fcuda-is-device -verify %s
6 #include "Inputs/cuda.h"
13 __host__ __device__ void test() {
15 // This should not crash clang.