summaryrefslogtreecommitdiff
path: root/suite/api_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'suite/api_test.py')
-rw-r--r--suite/api_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/suite/api_test.py b/suite/api_test.py
index 39c58491..9e5431ac 100644
--- a/suite/api_test.py
+++ b/suite/api_test.py
@@ -2115,7 +2115,9 @@ class TestWithFunction(TestWithBinaryView):
assert ft.return_value == Type.int(4)
ftm = ft.mutable_copy()
ftm.return_value = Type.int(4, False)
+ assert not ft.user_type
self.func.function_type = ftm
+ assert ft.user_type
self.func.view.update_analysis_and_wait()
assert self.func.function_type.return_value == Type.int(4, False), f"{self.func.function_type.return_value} != {Type.int(4, False)}"
func_str = "int32_t main(int32_t argc, char** argv, char** envp)"