---
cat > test.d << code
pragma(msg, import("test.d"));
code
mkdir d
ln -s ../test.d d/test.d
dmd -o- -Jd test.d
---
test.d(1): Error: file "test.d" cannot be found or not in a path specified with -J
test.d(1): while evaluating pragma(msg, import("test.d"))
---
Comment #1 by robert.schadek — 2024-12-13T18:23:26Z