v0.15.0
Loading...
Searching...
No Matches
feature_tests.c File Reference

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Variables

const char features []
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 34 of file feature_tests.c.

34{ (void)argv; return features[argc]; }
const char features[]

Variable Documentation

◆ features

const char features[]

Definition at line 2 of file feature_tests.c.

2 {"\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};