1 /* Test the tester. */ 2 /* { dg-prms-id 42 } */ 3 /* { dg-do run { target sparc-sun-solaris2* } } */ 4 /* The \n is left out of the pattern because tcl's exec will remove it. */ 5 /* { dg-output {Hello world[.]} } */ 6 7 #include <stdio.h> 8 main()9main () { printf ("Hello world.\n"); return 0; } 10