summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-do-compile-exp-P.c
blob: 93857465a1625c0375465fb4a6593bc2c79436c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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 { \}						} } */