Created
October 14, 2013 07:24
-
-
Save james4k/6972039 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat main.c | |
int main() { | |
(int); | |
return 0; | |
} | |
$ gcc main.c | |
main.c: In function ‘main’: | |
main.c:2: error: expected expression before ‘;’ token | |
$ clang main.c | |
main.c:2:7: error: expected expression | |
(int); | |
^ | |
1 error generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment