[CUDA] Fix implicit-device-lambda.cu after r282911.
authorJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 20:17:37 +0000 (20:17 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 30 Sep 2016 20:17:37 +0000 (20:17 +0000)
This commit added a warning that we're (correctly) hitting in this test.
Just ignore it.

llvm-svn: 282927

clang/test/SemaCUDA/implicit-device-lambda.cu

index d89cdd0..be1babe 100644 (file)
@@ -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"