summaryrefslogtreecommitdiffstats
path: root/tests/012/syms.tl
blob: 007125e2246f0ccac8af9bbaeaa6725016c88fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(load "../common")

(defpackage fb-2
  (:local loc-0 loc-1 loc-2)
  (:fallback usr))

(defpackage fb-1
  (:local loc-0 loc-1)
  (:fallback fb-2 usr))

(defpackage main
  (:local loc-0)
  (:fallback fb-1 fb-2 usr))

(in-package fb-2)

(prinl '(loc-0 loc-1 loc-2 cons))

(in-package fb-1)

(prinl '(loc-0 loc-1 loc-2 cons))
(prinl '(fb-2:loc-0 fb-2:loc-1 fb-2:loc-2 fb-2:cons))

(in-package main)

(prinl '(loc-0 loc-1 loc-2 cons))
(prinl '(fb-2:loc-0 fb-2:loc-1 fb-2:loc-2 fb-2:cons))
(prinl '(fb-1:loc-0 fb-1:loc-1 fb-1:loc-2 fb-1:cons))