Files
swift-mirror/validation-test/compiler_crashers_2/8d7e9f1c8d765adf.swift
Hamish Knight 760959f273 [test] Add assertion messages to crasher test cases
If the crasher hits an assertion failure, include the message in the
header.
2025-08-04 13:00:23 +01:00

5 lines
390 B
Swift

// {"kind":"typecheck","original":"3ea3fc6a","signature":"swift::DeclRefTypeRepr::DeclRefTypeRepr(swift::TypeReprKind, swift::DeclNameRef, swift::DeclNameLoc, unsigned int, bool)","signatureAssert":"Assertion failed: (Name.isSimpleName() && !Name.isSpecial() && !Name.isOperator()), function DeclRefTypeRepr"}
// RUN: not --crash %target-swift-frontend -typecheck %s
switch {
case a. init(