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
/
bug1546986.c
1
/*
2
bug1546986.c
3
*/
4
5
#include <testfwk.h>
6
#include <stdbool.h>
7
8
#ifdef __bool_true_false_are_defined
9
10
static unsigned char pdata tst1 = 0x01;
11
static unsigned char pdata tst2 = 0x00;
12
13
static bool test;
14
15
#endif //__bool_true_false_are_defined
16
17
void
18
testBug(void)
19
{
20
#ifdef __bool_true_false_are_defined
21
test = (tst1 | tst2);
22
ASSERT( test );
23
test = (tst2 | tst1);
24
ASSERT( test );
25
#endif //__bool_true_false_are_defined
26
}