mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Change the integer-literal type from Int2048 to IntLiteral.
Part of SR-290.
This commit is contained in:
@@ -14,8 +14,8 @@ func testSimple() {
|
||||
// CHECK: apply [[INIT]]([[ARG]], {{%.+}})
|
||||
_ = InheritsInit()
|
||||
|
||||
// CHECK: [[VALUE:%.+]] = integer_literal $Builtin.Int2048, 5
|
||||
// CHECK: [[ARG:%.+]] = apply {{%.+}}([[VALUE]], {{%.+}}) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
|
||||
// CHECK: [[VALUE:%.+]] = integer_literal $Builtin.IntLiteral, 5
|
||||
// CHECK: [[ARG:%.+]] = apply {{%.+}}([[VALUE]], {{%.+}}) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int
|
||||
// CHECK: [[INIT:%.+]] = function_ref @$s4main12InheritsInitCyACSicfC
|
||||
// CHECK: apply [[INIT]]([[ARG]], {{%.+}})
|
||||
_ = InheritsInit(5)
|
||||
|
||||
Reference in New Issue
Block a user