================
@@ -0,0 +1,43 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py 
UTC_ARGS: --version 5
+// The test may fail as time out on windows
+// REQUIRES: system-linux
+
+// RUN:  %clang -S -O3 -emit-llvm -o - -x c++ %s | FileCheck %s 
-check-prefixes=CHECK,NoNewStructPathTBAA
+// RUN:  %clang -S -O3 -Xclang -new-struct-path-tbaa -emit-llvm -o - -x c++ %s 
| FileCheck %s -check-prefixes=CHECK,NewStructPathTBAA
+
----------------
efriedma-quic wrote:
Can you rewrite the test so you don't need to include math.h?  You don't need 
the whole header; you just need `extern "C" float expf(float);`.

We try to avoid including system headers in clang regression tests so the tests 
work consistently across platforms.  If we actually need to run something 
natively for some reason, we it in llvm-test-suite.

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

Reply via email to