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
10 lines
281 B
Swift
10 lines
281 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
|
|
|
|
if true {
|
|
struct d<T where g: AnyObject) {
|
|
struct B<f : T
|