Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Apr 6, 2018
1 parent 7e74521 commit c29524c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runnable/test18141.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ else
expected="Posix"
fi

echo "void main(){}" | "${DMD}" -v -o- - | grep "predefs" | grep "${expected}"
out=$(echo "void main(){}" | "${DMD}" -v -o- -)
echo "$out" | grep "predefs" | grep "${expected}"

0 comments on commit c29524c

Please sign in to comment.