summaryrefslogtreecommitdiff
path: root/clang/test/Headers/cuda_with_openmp.cu
blob: efde4ecdc662658ceb835f0b70c6aebcae1e4da7 (plain)
1
2
3
4
5
6
7
8
// Test using -x cuda -fopenmp does not clash integrated headers.
// Reported in https://bugs.llvm.org/show_bug.cgi?id=48014
///==========================================================================///

// REQUIRES: nvptx-registered-target

// RUN: %clang -x cuda -fopenmp -c %s -o - --cuda-path=%S/../Driver/Inputs/CUDA/usr/local/cuda -nocudalib -isystem %S/Inputs/include -isystem %S/../../lib/Headers -fsyntax-only