# file : tests/variable/target-type-pattern-specific/testscript # license : MIT; see accompanying LICENSE file # NOTE: see also old tests. .include ../../common.testscript : basic : $* <>EOO x = x y = y dir{*}: x = X dir{*}: y += Y print $(./: x) print $(./: y) EOI X y Y EOO : block : $* <>EOO x = x y = y dir{*}: { x = X y += Y z = $x # Note: from scope. } print $(./: x) print $(./: y) print $(./: z) EOI X y Y x EOO : block-multiple : $* <>EOO x = x y = y file{f*} file{b*}: { x = X y += Y } print $(file{foo}: x) print $(file{bar}: y) EOI X y Y EOO