forked from OSchip/llvm-project
Fixing a test case which was failing the MSVC build bots. When -std isn't specified with an MSVC build, it defaults to -std=c++11, which overrides the -x cuda option. In turn, this causes all CUDA language option checks to fail.
This fix is possibly temporary while we determine whether -x cuda should be considered along with -std=c++11 when setting language options. llvm-svn: 209808
This commit is contained in:
parent
2882a12337
commit
8ee4126ae1
|
@ -1,4 +1,4 @@
|
|||
// RUN: c-index-test -test-load-source all -x cuda %s | FileCheck %s
|
||||
// RUN: c-index-test -test-load-source all -x cuda -std=cuda %s | FileCheck %s
|
||||
|
||||
__attribute__((device)) void f_device();
|
||||
__attribute__((global)) void f_global();
|
||||
|
|
Loading…
Reference in New Issue