diff --git a/.gitattributes b/.gitattributes index 9d0ac53655..1d9bcbc9b8 100644 --- a/.gitattributes +++ b/.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 diff --git a/tests/webtbs/tw20396.pp b/tests/webtbs/tw20396.pp new file mode 100644 index 0000000000..0f6eba431a --- /dev/null +++ b/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.