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:
Aaron Ballman 2014-05-29 12:59:11 +00:00
parent 2882a12337
commit 8ee4126ae1
1 changed files with 1 additions and 1 deletions

View File

@ -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();