projects
/
platform
/
upstream
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
c, analyzer: support named constants in analyzer [PR106302]
[platform/upstream/gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
analyzer
/
fd-4.c
diff --git
a/gcc/testsuite/gcc.dg/analyzer/fd-4.c
b/gcc/testsuite/gcc.dg/analyzer/fd-4.c
index
842a26b
..
994bad8
100644
(file)
--- a/
gcc/testsuite/gcc.dg/analyzer/fd-4.c
+++ b/
gcc/testsuite/gcc.dg/analyzer/fd-4.c
@@
-8,6
+8,7
@@
void close(int fd);
int write (int fd, void *buf, int nbytes);
int read (int fd, void *buf, int nbytes);
+#define O_ACCMODE 0xf
#define O_RDONLY 0
#define O_WRONLY 1
#define O_RDWR 2