summaryrefslogtreecommitdiff
path: root/test-suite/misc/coqc_dash_o.sh
blob: 0ae7873fd9f9d26b17ee5eb3b37eb743cdcad4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

DOUT=misc/tmp_coqc_dash_o/
OUT=${DOUT}coqc_dash_o.vo


mkdir -p "${DOUT}"
rm -f "${OUT}"
$coqc misc/coqc_dash_o.v -o "${OUT}"
if [ ! -f "${OUT}" ]; then
  printf "coqc -o not working"
  exit 1
fi
rm -fr "${DOUT}"
exit 0