Files
swift-mirror/test/DebugInfo/DynamicSelf.swift
Graham Batty 198402dcfe Mark tests that don't pass on linux as XFAIL.
Swift SVN r23573
2014-11-24 17:40:37 +00:00

20 lines
388 B
Swift

// RUN: %swift %s -emit-ir -g -o - | FileCheck %s
// XFAIL: linux
class C {
let n : Int
required init (number i :Int) {
self.n = i
}
}
extension C {
class func Factory() -> Self {
// Currently we emit the static type C for r.
// CHECK: [ DW_TAG_auto_variable ] [r] [line [[@LINE+1]]]
let r = self(number: 0)
return r
}
}
let MoreDesignPatterns = C.Factory