support C
This commit is contained in:
+7
-5
@@ -3,11 +3,13 @@
|
||||
int main()
|
||||
{
|
||||
int* x;
|
||||
void* y;
|
||||
x = y;
|
||||
void* y = 0;
|
||||
|
||||
x = y; /* should only work on C */
|
||||
if(x == 0)
|
||||
{
|
||||
printf("C compilation OK!\n");
|
||||
}
|
||||
|
||||
char s[16];
|
||||
scanf("%s", s);
|
||||
printf("%s\n", s);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user