1e89760ddc
* gcc.misc-tests/acker1.c: Report failure. Use return from main, not exit. Include stdio.h. * gcc.misc-tests/dg-11.c: Remove anchors from regexp. * gcc.misc-tests/dg-12.c: Likewise. * gcc.misc-tests/dg-5.c: Likewise. * gcc.misc-tests/dg-6.c: Likewise. * gcc.misc-tests/dg-7.c: Prototype abort. * gcc.misc-tests/dg-9.c: Adjust error-message regexps. * gcc.misc-tests/dhry.h: Include stdlib.h and string.h. * gcc.misc-tests/matrix1.c: Report failure. Use return from main, not exit. * gcc.misc-tests/sieve.c: Use return from main, not exit. * gcc.misc-tests/sort2.c: Use return from main, not exit. From-SVN: r34763
10 lines
282 B
C
10 lines
282 B
C
/* Test the tester. */
|
|
/* { dg-prms-id 42 } */
|
|
/* { dg-do run { target sparc-sun-solaris2* } } */
|
|
/* The \n is left out of the pattern because tcl's exec will remove it. */
|
|
/* { dg-output {Hello world[.]} } */
|
|
|
|
#include <stdio.h>
|
|
|
|
main () { printf ("Hello world.\n"); return 0; }
|