Skip to content

Commit a920164

Browse files
author
H. S. Teoh
committed
Add test case.
1 parent 91701a4 commit a920164

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/runnable/test18076.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
dir=${RESULTS_DIR}${SEP}runnable
4+
output_file=${dir}/test18076.sh.out
5+
6+
echo 'import std.stdio; void main() { writeln("Success"); }' | \
7+
$DMD -m${MODEL} -run - > ${output_file} || exit 1
8+
grep -q '^Success$' ${output_file} || exit 1

0 commit comments

Comments
 (0)