Skip to content

Instantly share code, notes, and snippets.

@james4k
Created October 14, 2013 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save james4k/6972039 to your computer and use it in GitHub Desktop.
Save james4k/6972039 to your computer and use it in GitHub Desktop.
$ 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