projects
/
debian
/
cc1111
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.9.0
[debian/cc1111]
/
support
/
regression
/
tests
/
bug2077267.c
1
/*
2
bug 2077267
3
*/
4
5
#include <testfwk.h>
6
7
#ifndef SDCC
8
#define __critical
9
#endif
10
11
void bug(char* x)
12
{
13
*x = *x + 1;
14
}
15
16
void
17
testBug(void)
18
{
19
char x = 1;
20
21
bug(&x);
22
23
__critical {
24
bug(&x);
25
}
26
27
ASSERT (x == 3);
28
}