[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / x86_64-eval-method.c
blobdbdc1f881b4a8d7ae2b48701e08b991383c486f6
1 // RUN: %clang_cc1 -fexperimental-strict-floating-point \
2 // RUN: -triple x86_64-linux-gnu -target-feature -sse -emit-llvm \
3 // RUN: -o - -verify=warn %s
4 //
5 // RUN: %clang_cc1 -fexperimental-strict-floating-point \
6 // RUN: -triple x86_64-linux-gnu -emit-llvm -o - -verify=no-warn %s
8 // no-warn-no-diagnostics
10 float add2(float a, float b, float c) {
11 #pragma clang fp eval_method(source)
12 return a + b + c;
13 } // warn-warning{{Setting the floating point evaluation method to `source` on a target without SSE is not supported.}}