forked from OSchip/llvm-project
Fix python bindings tests after change in visibility requirement for symbol declarations
This commit is contained in:
parent
fac0622ae0
commit
74207e78cf
|
@ -60,12 +60,12 @@ run(testCreateEmpty)
|
|||
# Note that this does not test that the print path converts unicode properly
|
||||
# because MLIR asm always normalizes it to the hex encoding.
|
||||
# CHECK-LABEL: TEST: testRoundtripUnicode
|
||||
# CHECK: func @roundtripUnicode()
|
||||
# CHECK: func private @roundtripUnicode()
|
||||
# CHECK: foo = "\F0\9F\98\8A"
|
||||
def testRoundtripUnicode():
|
||||
ctx = Context()
|
||||
module = Module.parse(r"""
|
||||
func @roundtripUnicode() attributes { foo = "😊" }
|
||||
func private @roundtripUnicode() attributes { foo = "😊" }
|
||||
""", ctx)
|
||||
print(str(module))
|
||||
|
||||
|
|
|
@ -320,7 +320,7 @@ def testOperationResultList():
|
|||
%0:3 = call @f2() : () -> (i32, f64, index)
|
||||
return
|
||||
}
|
||||
func @f2() -> (i32, f64, index)
|
||||
func private @f2() -> (i32, f64, index)
|
||||
""", ctx)
|
||||
caller = module.body.operations[0]
|
||||
call = caller.regions[0].blocks[0].operations[0]
|
||||
|
|
Loading…
Reference in New Issue