aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_compile_error.sh
blob: 2e3c2070bcdfb91dab7e6f5a4b27bc858229bf69 (plain)
1
2
3
4
5
6
7
8
9
cat > main.c

"$ducc" main.c > /dev/null 2> output
if [[ $? -eq 0 ]]; then
    "expected to fail"
    exit 1
fi

diff -u expected output