File: test.cmd

package info (click to toggle)
libgnatcoll 1.7gpl2015-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,280 kB
  • ctags: 1,124
  • sloc: ada: 134,072; python: 4,017; cpp: 1,397; ansic: 1,234; makefile: 368; sh: 152; xml: 31; sql: 6
file content (12 lines) | stat: -rw-r--r-- 512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--TEST -Pextending/extending.gpr
--  Compile in the extended project only, not the extending project
shell gprbuild -q -Pextended/extended
REFRESH

--  find all references to an entity from the extending
--  project should also find references in the extended project.
REFS Foo:extending/b.ads:2:14
#  1> Foo:a.adb:4:6 (static call) scope=A:a.adb:2:11
#  2> Foo:b.adb:2:14 (body) scope=B:b.ads:1:9
#  3> Foo:b.adb:5:8 (label on end line) scope=Foo:b.ads:2:14
#  4> Foo:b.ads:2:14 (declaration) scope=B:b.ads:1:9