Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61501524
feature_tests.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 7, 01:56
Size
688 B
Mime Type
text/x-c
Expires
Thu, May 9, 01:56 (2 d)
Engine
blob
Format
Raw Data
Handle
17491883
Attached To
R7581 SP4E Homework
feature_tests.c
View Options
const
char
features
[]
=
{
"
\n
"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
"1"
#else
"0"
#endif
"c_function_prototypes
\n
"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
"1"
#else
"0"
#endif
"c_restrict
\n
"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
"1"
#else
"0"
#endif
"c_static_assert
\n
"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
"1"
#else
"0"
#endif
"c_variadic_macros
\n
"
};
int
main
(
int
argc
,
char
**
argv
)
{
(
void
)
argv
;
return
features
[
argc
];
}
Event Timeline
Log In to Comment