Test case R0185
Full test suiteDevice test case
Deferred expressions in IL
This test case it part of the test suite proposed for new devices.
Test case ID: R0185
Language: ST,IL
tests2/t0185a.ilPROGRAM R0185 VAR_GLOBAL i1, i2, i3, i4, i5 : INT; END_VAR LD 4 ST i4 // i4:=4 LD 5 ST i5 // i5:5 LD i5 // i1:= i5 * ( i4 + 2) = 5 ( 6 ) = 30 MUL( LD i4 ADD 2 ) ST i1 END_PROGRAMtests2/t0185b.stPROGRAM ZZZ_R0185 VAR_EXTERNAL i1, i2, i3, i4, i5 : INT; END_VAR _GEB_ASSERT_(i1 = 30); _GEB_ASSERT_(i5 = 5); END_PROGRAM