v0.14.0
feature_tests.c
Go to the documentation of this file.
1 
2  const char features[] = {"\n"
3 "C_FEATURE:"
4 #if ((__clang_major__ * 100) + __clang_minor__) >= 400
5 "1"
6 #else
7 "0"
8 #endif
9 "c_function_prototypes\n"
10 "C_FEATURE:"
11 #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12 "1"
13 #else
14 "0"
15 #endif
16 "c_restrict\n"
17 "C_FEATURE:"
18 #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
19 "1"
20 #else
21 "0"
22 #endif
23 "c_static_assert\n"
24 "C_FEATURE:"
25 #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
26 "1"
27 #else
28 "0"
29 #endif
30 "c_variadic_macros\n"
31 
32 };
33 
34 int main(int argc, char** argv) { (void)argv; return features[argc]; }
features
const char features[]
Definition: feature_tests.c:2
main
int main(int argc, char **argv)
Definition: feature_tests.c:34