projects
/
debian
/
cc1111
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix build failures with gcc-8, using a rather large stick
[debian/cc1111]
/
support
/
regression
/
tests
/
bug-1292721.c
1
/*
2
bugs 1292721.
3
*/
4
5
#include <testfwk.h>
6
7
char bar(void)
8
{
9
static char ret = 0;
10
if(!ret) {
11
ret = 1;
12
return(0);
13
}
14
return(1);
15
}
16
17
void
18
testBug156270(void)
19
{
20
char aa, bb;
21
22
aa = bar();
23
24
for (;;) {
25
26
bb = bar();
27
28
if (!bb)
29
break;
30
31
if (aa == 0)
32
return;
33
34
ASSERT(0);
35
}
36
ASSERT(0);
37
}
38