Home
last modified time | relevance | path

Searched refs:F_DUPFD (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-type-safety.c126 #define F_DUPFD 10 macro
131 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD;
138 fcntl(0, F_DUPFD, 10); // no-warning in test_argument_with_type_tag()
142 …fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specifie… in test_argument_with_type_tag()
146 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion()
147 fcntl(0, b + F_DUPFD, 10); // no-warning in test_tag_expresssion()
148 fcntl(0, (b, F_DUPFD), 10); // expected-warning {{left operand of comma operator has no effect}} in test_tag_expresssion()