mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Instead, stimulate users to follow the referenced bug reporting guidelines, which contain all the necessary information. We’d rather encourage attempts at reducing issues before attaching Xcode projects. This is an accompaniment to https://github.com/apple/swift-org-website/pull/158.
11 lines
422 B
Swift
11 lines
422 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 submit a bug report (https://swift.org/contributing/#reporting-bugs){{$}}
|
|
|
|
import Swift
|
|
|
|
Builtin.trigger_fallback_diagnostic()
|