codetools: dotted unit name tests

git-svn-id: trunk@54735 -
This commit is contained in:
mattias 2017-04-26 08:40:45 +00:00
parent 35aaed1cd7
commit e4895d2fd0
6 changed files with 22 additions and 21 deletions

4
.gitattributes vendored
View File

@ -981,11 +981,11 @@ components/codetools/tests/laztests/bug28876.pas svneol=native#text/plain
components/codetools/tests/laztests/bug28877.pas svneol=native#text/plain
components/codetools/tests/laztests/delphi_autodereference1.pas svneol=native#text/plain
components/codetools/tests/laztests/tdefaultproperty1.pas svneol=native#text/plain
components/codetools/tests/laztests/tunit_order_test.pas svneol=native#text/plain
components/codetools/tests/laztests/tunitdots.main.pas svneol=native#text/plain
components/codetools/tests/laztests/unit_order_a.pas svneol=native#text/plain
components/codetools/tests/laztests/unit_order_b.pas svneol=native#text/plain
components/codetools/tests/laztests/unit_order_test.pas svneol=native#text/plain
components/codetools/tests/laztests/unitdots.dot.pas svneol=native#text/plain
components/codetools/tests/laztests/unitdots.main.pas svneol=native#text/plain
components/codetools/tests/laztests/unitdots.pas svneol=native#text/plain
components/codetools/tests/moduletests/fdt_arrays.pas svneol=native#text/plain
components/codetools/tests/moduletests/fdt_basic.pas svneol=native#text/plain

View File

@ -0,0 +1,17 @@
unit tunit_order_test;
{$mode objfpc}{$H+}
interface
uses
unit_order_a, unit_order_b;
implementation
begin
unit_order_b.v{declaration:unit_order_b.v}:=3;
v{declaration:unit_order_b.v}:=3;
unit_order_a.v{declaration:unit_order_a.v}:='3';
end.

View File

@ -1,4 +1,4 @@
unit unitdots.main;
unit tunitdots.main;
{$mode objfpc}{$H+}

View File

@ -5,7 +5,7 @@ unit unit_order_a;
interface
var
unit_order_b: char;
v: char;
implementation

View File

@ -5,7 +5,7 @@ unit unit_order_b;
interface
var
unit_order_a: integer;
v: integer;
implementation

View File

@ -1,16 +0,0 @@
unit unit_order_test;
{$mode objfpc}{$H+}
interface
uses
unit_order_a, unit_order_b;
implementation
begin
unit_order_b.unit_order_a{declaration:unit_order_b.unit_order_a}:=3;
unit_order_a.unit_order_b{declaration:unit_order_a.unit_order_b}:='3';
end.