Files
swift-mirror/validation-test/compiler_crashers/0511-swift-constraints-constraintlocator-profile.swift
Dmitri Hrybenko bea947c53b Annotate compiler crasher tests that now hit assertions under
AddressSanitizer

This is an improvement, previously these tests used to trigger a trap in
AddressSanitizer.

Swift SVN r24919
2015-02-03 17:15:40 +00:00

15 lines
349 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
var f = 1
var e: Int -> Int = {
}
let d: Int = { c, b in
}(f, e)
struct d<f : e, g: e where g.h == f.h> {{
}
struct B<T : A>