* gnatvsn.ads: Bump copyright year.
[official-gcc.git] / contrib / reghunt / examples / 30643.test
blobba9b0e0ff47540ae5de4c74d8fd43a6ca91937f5
1 #! /bin/sh
3 ID=$1
5 LOGID=`printf "%04d" ${ID}`
6 LOG=${BUGID}.${LOGID}.out
7 MSGID="bug ${BUGID}, id ${ID}"
8 ASM=${BUGID}.${LOGID}.s
10 $REG_TEST_COMPILER $REG_OPTS $REG_TESTCASE > ${LOG} 2>&1
12 if [ $? -ne 0 ]; then
13 echo "`date` compilation failed unexpectedly for ${MSGID}"
14 exit REG_ERROR
17 cp ${BUGID}.s $ASM
19 grep -q abort $ASM
20 if [ $? -eq 0 ]; then
21 echo "`date` abort call exists for ${MSGID}"
22 exit $REG_FAIL
25 echo "`date` no call to abort for ${MSGID}"
26 exit $REG_PASS