mirror of https://github.com/llvm/torch-mlir
Change test to explicit module level constant.
parent
e5958d820f
commit
5e54bcfc8c
|
@ -23,11 +23,11 @@ def global_int():
|
|||
return OUTER_ONE
|
||||
|
||||
|
||||
# CHECK-LABEL: func @module_docstring
|
||||
# CHECK-LABEL: func @module_string
|
||||
@import_global
|
||||
def module_docstring():
|
||||
# CHECK: basicpy.str_constant "Module docstring."
|
||||
return __doc__
|
||||
def module_string():
|
||||
# CHECK: basicpy.str_constant "Hello"
|
||||
return OUTER_STRING
|
||||
|
||||
|
||||
# CHECK-LABEL: func @builtin_debug
|
||||
|
|
Loading…
Reference in New Issue