mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Default protocols. Closes #1039
This commit is contained in:
committed by
Christoffer Lerno
parent
b7a896805d
commit
a9c28cce6d
@@ -29,17 +29,17 @@ fn void main()
|
||||
|
||||
/* #expect: test.ll
|
||||
|
||||
store ptr @"test.test$lambda1", ptr %z, align 8
|
||||
%1 = call i32 %0(i32 3)
|
||||
store ptr @"test.test$lambda2", ptr %z3, align 8
|
||||
%7 = call double %6(double 3.300000e+00)
|
||||
store ptr @"test.test$lambda2", ptr %z7, align 8
|
||||
%13 = call double %12(double 3.300000e+00)
|
||||
%18 = call i32 @"test.test2$lambda3"(i32 3)
|
||||
%23 = call i32 @"test.test2$lambda3"(i32 3)
|
||||
%28 = call double @"test.test2$lambda4"(double 3.300000e+00)
|
||||
store ptr @"test.test$lambda1", ptr %z, align 8
|
||||
%1 = call i32 %0(i32 3)
|
||||
store ptr @"test.test$lambda2", ptr %z2, align 8
|
||||
%7 = call double %6(double 3.300000e+00)
|
||||
store ptr @"test.test$lambda2", ptr %z6, align 8
|
||||
%13 = call double %12(double 3.300000e+00)
|
||||
%18 = call i32 @"test.test2$lambda3"(i32 3)
|
||||
%23 = call i32 @"test.test2$lambda3"(i32 3)
|
||||
%28 = call double @"test.test2$lambda4"(double 3.300000e+00)
|
||||
|
||||
define internal i32 @"test.test$lambda1"(i32 %0) #0 {
|
||||
define internal double @"test.test$lambda2"(double %0) #0 {
|
||||
define internal i32 @"test.test2$lambda3"(i32 %0) #0 {
|
||||
define internal double @"test.test2$lambda4"(double %0) #0 {
|
||||
define internal i32 @"test.test$lambda1"(i32 %0) #0 {
|
||||
define internal double @"test.test$lambda2"(double %0) #0 {
|
||||
define internal i32 @"test.test2$lambda3"(i32 %0) #0 {
|
||||
define internal double @"test.test2$lambda4"(double %0) #0 {
|
||||
|
||||
Reference in New Issue
Block a user