소스 검색

+ added test for the error checking for nil-number; tests already exist for
nil+number and number+nil, so this was the only one missing

git-svn-id: trunk@28235 -

nickysn 11 년 전
부모
커밋
84a18e57bc
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .gitattributes
  2. 8 0
      tests/tbf/tb0249.pp

+ 1 - 0
.gitattributes

@@ -9618,6 +9618,7 @@ tests/tbf/tb0245.pp svneol=native#text/pascal
 tests/tbf/tb0246.pp svneol=native#text/pascal
 tests/tbf/tb0247.pp svneol=native#text/pascal
 tests/tbf/tb0248.pp svneol=native#text/pascal
+tests/tbf/tb0249.pp svneol=native#text/pascal
 tests/tbf/ub0115.pp svneol=native#text/plain
 tests/tbf/ub0149.pp svneol=native#text/plain
 tests/tbf/ub0158a.pp svneol=native#text/plain

+ 8 - 0
tests/tbf/tb0249.pp

@@ -0,0 +1,8 @@
+{ %FAIL }
+
+program tb0249;
+var
+  p: PByte;
+begin
+  p := nil - 5;
+end.