Files
swift-mirror/validation-test/compiler_crashers/1341-broken-function-found-compilation-aborted.swift
Joe Groff 63463f54ac SIL: Mangle the static-ness of declarations.
This lets us disambiguate the symbols for static and instance properties, and enables us to eventually leave the useless "self" type mangling out of method symbols. Fixes rdar://19012022 and dupes thereof, including crasher #1341.

Swift SVN r25111
2015-02-10 02:37:35 +00:00

14 lines
271 B
Swift

// RUN: %target-swift-frontend %s -emit-silgen
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/fluidsonic (Marc Knaup)
class A {
var a: () {
return
}
class var a: () {
return
}
}