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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.test-framework/] [dg-do-compile-exp-P.c] - Rev 853

Go to most recent revision | Compare with Previous | Blame | View Log

/* Test the tester; previously gcc.misc-tests/dg-1.c.  */
/* { dg-prms-id 42 } */
/* { dg-do compile } */
 
main () { return 0; }
 
/* { dg-final { if ![file exists dg-do-compile-exp-P.s] { fail "dg-do-compile-exp-P.c (compile)"; return; } } } */
 
/* { dg-final { set tmp [grep dg-do-compile-exp-P.s main line]			} } */
/* { dg-final { if ![string match "" $tmp] \{			} } */
/* { dg-final {     pass "dg-do-compile-exp-P.c (main function present)"	} } */
/* { dg-final { \} else \{					} } */
/* { dg-final {     fail "dg-do-compile-exp-P.c (main function not present)"	} } */
/* { dg-final { \}						} } */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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