e0890d03a4
Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature.
15 lines
146 B
C
15 lines
146 B
C
|
|
#include "lib_restrict.h"
|
|
|
|
int bar(int * restrict a, int * restrict b)
|
|
{
|
|
(void)a;
|
|
(void)b;
|
|
return foo(a, b);
|
|
}
|
|
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|