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
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)
13 } // warn-warning{{Setting the floating point evaluation method to `source` on a target without SSE is not supported.}}