mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AddressSanitizer This is an improvement, previously these tests used to trigger a trap in AddressSanitizer. Swift SVN r24919
16 lines
422 B
Swift
16 lines
422 B
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
|
|
|
|
for c : Hashable> U -> (f(A
|
|
assert(A, f<h = "A> T where h: a {
|
|
class c {
|
|
class A {
|
|
return x in x in 0) -> S) {
|
|
}
|
|
class A : S.startIndex)
|
|
struct S<T where h: Bool) { self.Generator.<d
|
|
class B = [$0.a
|