Files
swift-mirror/validation-test/compiler_crashers_fixed/28194-swift-abstractstoragedecl-isgettermutating.swift
Chris Lattner 11fda96b85 When we detect a property/subscript that has a setter without a getter, create a dummy
getter to avoid breaking downstream invariants.  This fixes three crashers, including
one added by @practicalswift yesterday.
2016-01-09 11:38:08 -08:00

9 lines
249 B
Swift

// RUN: not %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 A
struct Q{{}let a:A{set{a{