mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Two crashes are defined as duplicate if they give the same output for:
$ swiftc FILENAME 2>&1 | \
grep -E "0x[0-9a-f]" | \
grep -E '(swift|llvm)::' | \
grep -vE '(llvm::sys::|frontend_main)' | \
awk '{ $1=$2=$3=""; print $0 }' | \
sed 's/^ *//g' | \
grep -E '(swift|llvm)::' | \
head -1
9 lines
335 B
Swift
9 lines
335 B
Swift
// DUPLICATE-OF: 26832-swift-typechecker-conformstoprotocol.swift
|
|
// RUN: not --crash %target-swift-frontend %s -parse
|
|
|
|
// Distributed under the terms of the MIT license
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// Test case found by fuzzing
|
|
|
|
struct S<T{protocol b{func f:B:class B<c:B<T>
|