Fixing a test case which was failing the MSVC build bots. When -std isn't specified...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 29 May 2014 12:59:11 +0000 (12:59 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 29 May 2014 12:59:11 +0000 (12:59 +0000)
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

clang/test/Index/attributes-cuda.cu

index e0023a1..dd571f1 100644 (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();