Resolve an old compiler crasher via the new diagnostic formatter

The old diagnostic formatter would crash on some Fix-Its involving
Unicode characters. The new one does not.
This commit is contained in:
Doug Gregor
2024-02-19 02:43:51 -10:00
parent 8cd2f34654
commit c142205a50

View File

@@ -5,7 +5,7 @@
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not --crash %target-swift-frontend %s -emit-ir
// REQUIRES: asserts
// RUN: not %target-swift-frontend %s -emit-ir
// REQUIRES: asserts, swift_swift_parser
struct B{func
f