permit multiline comments and strings in macros
[bpt/coccinelle.git] / tests / bugloop.c
CommitLineData
34e49164
C
1/* this doesn't work, because on the paths where we don't find refrigerator,
2we expect to reach Exit without first going through current->flags & PF_FREEZE,
3but of course any path that goes around the loop does precisely that */
4
5static int stir_transmit_thread(void *arg)
6{
7
8 while (x)
9 {
10 /* if suspending, then power off and wait */
11 if (unlikely(current->flags & PF_FREEZE)) {
12 refrigerator(PF_FREEZE);
13
14 }
15 }
16}
17