File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -653,8 +653,6 @@ SUITE( fbc_tests.functions.return_byref )
653653 END_TEST
654654 END_TEST_GROUP
655655
656- # if ENABLE_CHECK_BUGS
657-
658656 TEST_GROUP( byrefResultAsLvalue )
659657 type UDT
660658 as integer a, b
@@ -701,13 +699,15 @@ SUITE( fbc_tests.functions.return_byref )
701699 i = 1 : CU_ASSERT( f1( ) = "y" )
702700 i = 2 : CU_ASSERT( f1( ) = "z" )
703701
702+ # if ENABLE_CHECK_BUGS
704703 CU_ASSERT( f2( 0 ) = "a" ) '' <<-- fail
705704 CU_ASSERT( f2( 1 ) = "b" ) '' <<-- fail
706705 CU_ASSERT( f2( 2 ) = "c" ) '' <<-- fail
707706 (f2( 1 )) = "y"
708707 CU_ASSERT( f2( 0 ) = "a" ) '' <<-- fail
709708 CU_ASSERT( f2( 1 ) = "y" )
710709 CU_ASSERT( f2( 2 ) = "c" ) '' <<-- fail
710+ # endif
711711 (f2( 0 )) = "x"
712712 (f2( 2 )) = "z"
713713 CU_ASSERT( f2( 0 ) = "x" )
@@ -748,8 +748,6 @@ SUITE( fbc_tests.functions.return_byref )
748748 END_TEST
749749 END_TEST_GROUP
750750
751- # endif
752-
753751 TEST_GROUP( protoReturningFwdref )
754752 type typedef as fwdref
755753
You can’t perform that action at this time.
0 commit comments