# TAGS: divcc dioscc min
. testcase

cat > a.c <<EOF
int main(){}
EOF

for COMPILER in dioscc divcc
do
    $COMPILER a.c
    file a.out | grep "dynamically linked"
    rm a.out

    $COMPILER a.c --static
    file a.out | grep "statically linked"
    rm a.out

    $COMPILER a.c -static
    file a.out | grep "statically linked"
    rm a.out
done
