[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / SemaCUDA / allow-int128.cu
blobeb7b7e7f52862b38acc64d7c364e350041b1e3c3
1 // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa \
2 // RUN:   -aux-triple x86_64-unknown-linux-gnu \
3 // RUN:   -fcuda-is-device -verify -fsyntax-only %s
4 // RUN: %clang_cc1 -triple nvptx \
5 // RUN:   -aux-triple x86_64-unknown-linux-gnu \
6 // RUN:   -fcuda-is-device -verify -fsyntax-only %s
8 // expected-no-diagnostics
9 #define __device__ __attribute__((device))
11 __int128 h_glb;
12 __device__ __int128 d_unused;
13 __device__ __int128 d_glb;
14 __device__ __int128 bar() {
15   return d_glb;