Browse Source

* forgotten test for last commit

git-svn-id: trunk@19499 -
florian 14 years ago
parent
commit
2887065c9d
2 changed files with 12 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 11 0
      tests/webtbs/tw20396.pp

+ 1 - 0
.gitattributes

@@ -11909,6 +11909,7 @@ tests/webtbs/tw2028.pp svneol=native#text/plain
 tests/webtbs/tw2030.pp svneol=native#text/plain
 tests/webtbs/tw2031.pp svneol=native#text/plain
 tests/webtbs/tw2037.pp svneol=native#text/plain
+tests/webtbs/tw20396.pp svneol=native#text/plain
 tests/webtbs/tw2040.pp svneol=native#text/plain
 tests/webtbs/tw2041.pp svneol=native#text/plain
 tests/webtbs/tw20421.pp svneol=native#text/pascal

+ 11 - 0
tests/webtbs/tw20396.pp

@@ -0,0 +1,11 @@
+{ %opt=-Co }
+program test_Co_option;
+
+{$mode objfpc}{$H+}
+var i: Integer;
+
+begin
+  i := -2;
+  i := i * 2;
+  writeln('ok');
+end.