Browse Source

[CUDA] Fix implicit-device-lambda.cu after r282911.

This commit added a warning that we're (correctly) hitting in this test.
Just ignore it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282927 91177308-0d34-0410-b5e6-96231b3b80d8
Justin Lebar 9 years ago
parent
commit
81d106c774
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/SemaCUDA/implicit-device-lambda.cu

+ 2 - 2
test/SemaCUDA/implicit-device-lambda.cu

@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -std=c++11 -fcuda-is-device -verify -fsyntax-only -verify-ignore-unexpected=note %s
-// RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -verify-ignore-unexpected=note %s
+// RUN: %clang_cc1 -std=c++11 -fcuda-is-device -verify -fsyntax-only -verify-ignore-unexpected=warning -verify-ignore-unexpected=note %s
+// RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -verify-ignore-unexpected=warning -verify-ignore-unexpected=note %s
 
 
 #include "Inputs/cuda.h"
 #include "Inputs/cuda.h"