================
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
+
+char stdc_rotateleft1[__builtin_stdc_rotate_left((unsigned char)0xB1, 3) == 
0x8D ? 1 : -1];
----------------
philnik777 wrote:

I'm pretty sure `static_assert`s are the recommended way to test this now.

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

Reply via email to