Browse Source

no message

florian 20 years ago
parent
commit
c816e71deb
1 changed files with 19 additions and 0 deletions
  1. 19 0
      tests/webtbs/tw3529.pp

+ 19 - 0
tests/webtbs/tw3529.pp

@@ -0,0 +1,19 @@
+{ Source provided for Free Pascal Bug Report 3529 }
+{ Submitted by "Alexey Barkovoy" on  2005-01-07 }
+{ e-mail: [email protected] }
+var
+  v1, v2: Variant;
+  S1, S2: AnsiString;
+begin
+  S1:= 'aa'; 
+  S2:= 'bb';
+  v1:= S1;
+  v2:= S2;
+  if v1 = v2 then 
+    begin
+      WriteLn('Equal');
+      halt(1);
+    end
+  else 
+    writeln('not-equal');
+end.