Files
swift-mirror/validation-test/compiler_crashers_2/98887170a0bfefc0.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
418 B
Swift

// {"kind":"typecheck","signature":"$s11swiftASTGen24evaluatePoundIfCondition10astContext13diagEnginePtr16sourceFileBuffer02ifF4Text14shouldEvaluateSiSo17BridgedASTContextV_SvSo0S9StringRefVAKSbtF","signatureAssert":"Assertion failed: (size() >= 1 && \"must have a top-level module\"), function Module"}
// RUN: not --crash %target-swift-frontend -typecheck %s
// REQUIRES: swift_swift_parser
#if canImport(#available