[clang] Fix dr2xx clang test (PR #74223)
Sizov Nikita via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 2 21:06:06 PST 2023
https://github.com/snikitav updated https://github.com/llvm/llvm-project/pull/74223
>From 41bae56752441a2b2e23ff04e3f0a03ef0d95743 Mon Sep 17 00:00:00 2001
From: Sizov Nikita <s.nikita.v at gmail.com>
Date: Sun, 3 Dec 2023 06:56:08 +0300
Subject: [PATCH] Fix crash for windows clang unittest
---
clang/test/CXX/drs/dr2xx.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/test/CXX/drs/dr2xx.cpp b/clang/test/CXX/drs/dr2xx.cpp
index 4dd6d7599f2a0..582993ba7fe71 100644
--- a/clang/test/CXX/drs/dr2xx.cpp
+++ b/clang/test/CXX/drs/dr2xx.cpp
@@ -1298,7 +1298,7 @@ namespace dr299 { // dr299: 2.8 c++11
// cxx98-11-error@#dr299-q {{ambiguous conversion of array size expression of type 'T' to an integral or enumeration type}}
// cxx98-11-note@#dr299-int {{conversion to integral type 'int' declared here}}
// cxx98-11-note@#dr299-ushort {{conversion to integral type 'unsigned short' declared here}}
- // since-cxx14-error-re@#dr299-q {{{{conversion from 'T' to 'unsigned (long|int)' is ambiguous}}}}
+ // since-cxx14-error-re@#dr299-q {{conversion from 'T' to 'unsigned {{(long|int)}}' is ambiguous}}
// since-cxx14-note@#dr299-int {{candidate function}}
// since-cxx14-note@#dr299-ushort {{candidate function}}
}
More information about the cfe-commits
mailing list