Skip to content

Commit ceac7d4

Browse files
test: Fix testcase 84
Fix testcase 84 arg_mixed in ubuntu24.04 Signed-off-by: GYUHA LEE <leejune30@chungbuk.ac.kr>
1 parent 7e07a43 commit ceac7d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/t084_arg_mixed.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ def setup(self):
4747
self.option += '-R "mixed_div@retval/f80" '
4848
self.option += '-A "mixed_str@arg1/s,fparg1" '
4949
self.option += '-R "mixed_str@retval/s"'
50+
51+
def fixup(self, cflags, result):
52+
if cflags.find('O1') >= 0 or cflags.find('O2') >= 0 or cflags.find('O3') >= 0:
53+
return result.replace('mixed_sub(0x400000, 2048) = 0x3ff800;',
54+
'mixed_sub.specialized.1();')

0 commit comments

Comments
 (0)