]> granicus.if.org Git - clang/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282927 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCUDA/implicit-device-lambda.cu

index d89cdd0b05614f614fd6424d26a9f2644ee241a5..be1babe82293de2786b62f18a9b72e5143a74e66 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"