mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
366 B
Swift
11 lines
366 B
Swift
// RUN: %empty-directory(%t)
|
|
//
|
|
// RUN: not %target-swift-frontend -typecheck %s -parse-stdlib 2>%t/fallback_diagnostic.txt
|
|
// RUN: %FileCheck %s --check-prefix FALLBACK-DIAGNOSTIC <%t/fallback_diagnostic.txt
|
|
//
|
|
// FALLBACK-DIAGNOSTIC: error: failed to produce diagnostic for expression; please file a bug report
|
|
|
|
import Swift
|
|
|
|
Builtin.trigger_fallback_diagnostic()
|