mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
9 lines
384 B
Bash
Executable file
9 lines
384 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
|
|
# dmd should not segfault on -X with libraries, but no source files
|
|
out=$(! "$DMD" -conf= -X foo${LIBEXT} 2>&1)
|
|
echo "$out" | grep 'Error: cannot determine JSON filename, use `-Xf=<file>` or provide a source file'
|
|
|
|
out=$(! "$DMD" -conf= -Xi=compilerInfo 2>&1)
|
|
echo "$out" | grep 'Error: cannot determine JSON filename, use `-Xf=<file>` or provide a source file'
|