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
13 lines
357 B
Swift
13 lines
357 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 B<T{enum S<h{protocol A{{
|
|
}
|
|
func g:A
|
|
struct A:B<T>
|
|
struct B<a
|