// RUN: %swift-ide-test -structure -source-filename %s | FileCheck %s
struct S: _ColorLiteralConvertible {
init(colorLiteralRed: Float, green: Float, blue: Float, alpha: Float) {}
}
// CHECK: let y: S = [#Color(colorLiteralRed: 1, green: 0, blue: 0, alpha: 1)#]
let y: S = [#Color(colorLiteralRed: 1, green: 0, blue: 0, alpha: 1)#]
struct I: _ImageLiteralConvertible {
init?(imageLiteral: String) {}
}
// CHECK: let z: I? = [#Image(imageLiteral: "hello.png")#]
let z: I? = [#Image(imageLiteral: "hello.png")#]