mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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
353 B
Swift
9 lines
353 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
|
|
|
|
class C struct B<B{struct B<T:C{protocol d{let:B<T>{}struct B<b
|