Debian Codegraph @

test cases/common/14 configure file/prog.c

raw
1 #include <string.h>
2 /* config.h must not be in quotes:
3 * https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html
4 */
5 #include <config.h>
6
7 #ifdef SHOULD_BE_UNDEF
8 #error "FAIL!"
9 #endif
10
11 int main(void) {
12 #ifndef BE_TRUE
13 return 1;
14 #else
15 return strcmp(MESSAGE, "mystring");
16 #endif
17 }