소스 검색

* inline with type in implicit used unit

peter 20 년 전
부모
커밋
6fc687a44c
3개의 변경된 파일38개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      tests/test/tinline4.pp
  2. 10 0
      tests/test/uinline4a.pp
  3. 12 0
      tests/test/uinline4b.pp

+ 16 - 0
tests/test/tinline4.pp

@@ -0,0 +1,16 @@
+unit tinline4;
+
+interface
+
+uses uinline4b;
+
+procedure acall(a,b: longint); inline;
+
+implementation
+
+procedure acall(a,b: longint); inline;
+begin
+  libbase:=nil;
+end;
+
+end.

+ 10 - 0
tests/test/uinline4a.pp

@@ -0,0 +1,10 @@
+unit uinline4a;
+
+interface
+
+type
+  aptrtype = pointer;
+
+implementation
+
+end.

+ 12 - 0
tests/test/uinline4b.pp

@@ -0,0 +1,12 @@
+unit uinline4b;
+
+interface
+
+uses uinline4a;
+
+var
+  libbase : aptrtype;
+
+implementation
+
+end.