1 /* { dg-additional-options "-traditional-cpp" } */
3 #include "analyzer-decls.h"
5 /* Various constants used by the fd state machine. */
11 void test_sm_fd_constants (void)
13 __analyzer_dump_named_constant ("O_ACCMODE"); /* { dg-warning "named constant 'O_ACCMODE' has unknown value" } */
14 __analyzer_dump_named_constant ("O_RDONLY"); /* { dg-warning "named constant 'O_RDONLY' has unknown value" } */
15 __analyzer_dump_named_constant ("O_WRONLY"); /* { dg-warning "named constant 'O_WRONLY' has unknown value" } */