================
@@ -0,0 +1,34 @@
+! REQUIRES: arm-registered-target
+
+! RUN: %flang --target=arm-linux-gnu --print-supported-extensions 2>&1 \
+! RUN:   | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
+
+! CHECK: All available -march extensions for ARM
----------------
banach-space wrote:

IMO, it would be sufficient to only test this line and refer folks to Clang for 
the rest. Just to avoid duplicating tests. WDYT?

For options like this one, we should have one test file shared between Clang 
and Flang. That would probably have to live outside of Flang and Clang. Worth 
considering for the future.

https://github.com/llvm/llvm-project/pull/117402
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to