OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.test-framework/] [dg-do-compile-exp-P.c] - Blame information for rev 300

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 300 jeremybenn
/* Test the tester; previously gcc.misc-tests/dg-1.c.  */
2
/* { dg-prms-id 42 } */
3
/* { dg-do compile } */
4
 
5
main () { return 0; }
6
 
7
/* { dg-final { if ![file exists dg-do-compile-exp-P.s] { fail "dg-do-compile-exp-P.c (compile)"; return; } } } */
8
 
9
/* { dg-final { set tmp [grep dg-do-compile-exp-P.s main line]                  } } */
10
/* { dg-final { if ![string match "" $tmp] \{                   } } */
11
/* { dg-final {     pass "dg-do-compile-exp-P.c (main function present)"        } } */
12
/* { dg-final { \} else \{                                      } } */
13
/* { dg-final {     fail "dg-do-compile-exp-P.c (main function not present)"    } } */
14
/* { dg-final { \}                                              } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.