annotate gcc/testsuite/gcc.test-framework/dg-do-assemble-exp-P.c @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Test the tester; previously gcc.misc-tests/dg-2.c. */
kono
parents:
diff changeset
2 /* { dg-prms-id 42 } */
kono
parents:
diff changeset
3 /* { dg-do assemble } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 main () { return 0; }
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 /* { dg-final { if [file exists dg-do-assemble-exp-P.o] \{ } } */
kono
parents:
diff changeset
8 /* { dg-final { pass "dg-do-assemble-exp-P.c (assemble: produce .o test)" } } */
kono
parents:
diff changeset
9 /* { dg-final { \} else \{ } } */
kono
parents:
diff changeset
10 /* { dg-final { fail "dg-do-assemble-exp-P.c (assemble: produce .o test)" } } */
kono
parents:
diff changeset
11 /* { dg-final { \} } } */