소스 검색

+ new test that should fail to compile, but doesn't yet

git-svn-id: trunk@17034 -
Jonas Maebe 14 년 전
부모
커밋
e78f195422
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .gitattributes
  2. 8 0
      tests/tbf/tb0220.pp

+ 1 - 0
.gitattributes

@@ -8283,6 +8283,7 @@ tests/tbf/tb0216.pp svneol=native#text/plain
 tests/tbf/tb0217.pp svneol=native#text/plain
 tests/tbf/tb0218.pp svneol=native#text/plain
 tests/tbf/tb0219.pp svneol=native#text/pascal
+tests/tbf/tb0220.pp svneol=native#text/plain
 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/tb0220.pp

@@ -0,0 +1,8 @@
+{ %fail }
+
+type
+  tset = set of byte;
+begin
+  if 2 in tset then
+    writeln('should not compile')
+end.