[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Misc / nvptx.unsupported_core.cl
blobb56a4828914ee128d5903211730901fc814399ff
1 // RUN: %clang_cc1 -cl-std=CL2.0 -triple nvptx-unknown-unknown -Wpedantic-core-features %s 2> %t
2 // RUN: FileCheck --check-prefixes=CHECK-C < %t %s
3 // RUN: %clang_cc1 -cl-std=CLC++ -triple nvptx-unknown-unknown -Wpedantic-core-features %s 2> %t
4 // RUN: FileCheck --check-prefixes=CHECK-CPP < %t %s
6 // CHECK-C: cl_khr_3d_image_writes is a core feature in OpenCL C version 2.0 but not supported on this target
7 // CHECK-CPP: cl_khr_3d_image_writes is a core feature in C++ for OpenCL version 1.0 but not supported on this target