[clang] bbe6bd7 - Trivial fix to failing test on FreeBSD
Matt Jacobson via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 16 21:21:30 PST 2022
Author: Matt Jacobson
Date: 2022-11-17T00:20:23-05:00
New Revision: bbe6bd724a6335e497c7edaed191d37a828d0390
URL: https://github.com/llvm/llvm-project/commit/bbe6bd724a6335e497c7edaed191d37a828d0390
DIFF: https://github.com/llvm/llvm-project/commit/bbe6bd724a6335e497c7edaed191d37a828d0390.diff
LOG: Trivial fix to failing test on FreeBSD
This file can't use C99-style comments.
Added:
Modified:
clang/test/C/drs/dr3xx.c
Removed:
################################################################################
diff --git a/clang/test/C/drs/dr3xx.c b/clang/test/C/drs/dr3xx.c
index 96d809a4fe131..d11cf208e543f 100644
--- a/clang/test/C/drs/dr3xx.c
+++ b/clang/test/C/drs/dr3xx.c
@@ -188,7 +188,7 @@ void dr320(int okay[dr320_v]) { /* c89only-warning {{variable length arrays are
',' == L',' && '\\' == L'\\' && '"' == L'"' && '\'' == L'\'' \
)
#if __STDC_MB_MIGHT_NEQ_WC__
-#ifndef __FreeBSD__ // PR22208, FreeBSD expects us to give a bad (but conforming) answer here.
+#ifndef __FreeBSD__ /* PR22208, FreeBSD expects us to give a bad (but conforming) answer here. */
_Static_assert(!DR321, "__STDC_MB_MIGHT_NEQ_WC__ but all basic source characters have same representation");
#endif
#else
More information about the cfe-commits
mailing list