mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
lit-test: update to follow IR serialization changes.
This commit is contained in:
parent
9e0a5b9404
commit
3fb12b74d6
@ -8,12 +8,12 @@ class c:
|
|||||||
def m(self):
|
def m(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# CHECK-L: c:<constructor c {a: int(width='a), f: ()->NoneType, m: (self:<instance c>)->NoneType}>
|
# CHECK-L: c:<constructor c {a: int(width='a), f: ()->NoneType delay('b), m: (self:<instance c>)->NoneType delay('c)}>
|
||||||
c
|
c
|
||||||
# CHECK-L: .a:int(width='a)
|
# CHECK-L: .a:int(width='a)
|
||||||
c.a
|
c.a
|
||||||
# CHECK-L: .f:()->NoneType
|
# CHECK-L: .f:()->NoneType delay('b)
|
||||||
c.f
|
c.f
|
||||||
|
|
||||||
# CHECK-L: .m:method(fn=(self:<instance c>)->NoneType, self=<instance c>)
|
# CHECK-L: .m:method(fn=(self:<instance c>)->NoneType delay('c), self=<instance c>)
|
||||||
c().m()
|
c().m()
|
||||||
|
@ -8,7 +8,7 @@ class c:
|
|||||||
def g(self):
|
def g(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# CHECK-L: ${LINE:+1}: error: function 'f()->NoneType' of class 'c' cannot accept a self argument
|
# CHECK-L: ${LINE:+1}: error: function 'f()->NoneType delay('a)' of class 'c' cannot accept a self argument
|
||||||
c().f()
|
c().f()
|
||||||
|
|
||||||
c.g(1)
|
c.g(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user