Crash while compiling simple program #69891
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
The following simple program crashes the Swift compiler:
Steps to reproduce
Put the above text snippet into a file, and then invoke the compiler like this:
swiftc -c demo.swift
Expected behavior
It should compile without a crash, instead you get:
Environment
Happens with both Xcode 15.0, and the 15.1 beta, the version for the beta:
Swift compiler version info swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.51 clang-1500.1.0.2.2)
Xcode version info 15.0 15A240d (but also happens with the beta)
Deployment target: MacOS, or iOS.
The text was updated successfully, but these errors were encountered: