[clang] Run test on x86 only
authorSerge Pavlov <sepavloff@gmail.com>
Mon, 13 Nov 2023 12:16:29 +0000 (19:16 +0700)
committerTobias Hieta <tobias@hieta.se>
Tue, 14 Nov 2023 08:22:13 +0000 (09:22 +0100)
The test Sema/PR69717.cpp fails on platforms that do not support
pragma float_control. So run this test on x86 only.

(cherry picked from commit 93ae26331592f41bf2b1d10b048743d80c468385)

clang/test/Sema/PR69717.cpp

index 3207092..42a87bd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -fsyntax-only %s
+// REQUIRES: x86-registered-target
 // expected-no-diagnostics
 
 // Testcase for https://github.com/llvm/llvm-project/issues/69717