M Fisher reported this on 2024-03-31T12:11:01Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=24471
CC List
Description
https://dlang.org/spec/pragma.html
pragma lib
There must be one AssignExpression and it must evaluate at compile time to a string literal.
pragma(lib, "foo.lib");
Implementation Defined: The string literal specifies the file name of a library file. This name is inserted into the generated object file, or otherwise passed to the linker, so the linker automatically links in that library.
pragma linkerDirective
There must be one AssignExpression and it must evaluate at compile time to a string literal.