Browse Source

* test should fail

peter 21 years ago
parent
commit
20a9b0c482
2 changed files with 24 additions and 0 deletions
  1. 12 0
      tests/webtbf/tw2972.pp
  2. 12 0
      tests/webtbf/tw2972b.pp

+ 12 - 0
tests/webtbf/tw2972.pp

@@ -0,0 +1,12 @@
+{ %fail }
+
+{ Source provided for Free Pascal Bug Report 2972 }
+{ Submitted by "Michalis Kamburelis" on  2004-02-13 }
+{ e-mail: [email protected] }
+type
+  TEnum = (one, two);
+
+var s:String;
+begin
+ s:=one;
+end.

+ 12 - 0
tests/webtbf/tw2972b.pp

@@ -0,0 +1,12 @@
+{ %fail }
+
+{ Source provided for Free Pascal Bug Report 2972 }
+{ Submitted by "Michalis Kamburelis" on  2004-02-13 }
+{ e-mail: [email protected] }
+type
+  TEnum = (one, two);
+
+var s:String;
+begin
+  if s<>one then;
+end.