Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / builtin_set_flt_rounds.c
blob144e4a2a72dfab701720f86eab2e936874bb3796
1 // RUN: %clang_cc1 -triple mipsel-unknown-linux -fsyntax-only %s -verify=expected,unsupported
2 // RUN: %clang_cc1 -triple x86_64-gnu-linux -fsyntax-only %s -verify
3 struct S {int a;};
4 void test_builtin_set_flt_rounds() {
5 __builtin_set_flt_rounds(1); // unsupported-error {{builtin is not supported on this target}}
6 struct S s;
7 __builtin_set_flt_rounds(s); // expected-error {{passing 'struct S' to parameter of incompatible type}}