Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- goto (33);
- return 0;
- }
- void goto (int val){}
- /*
- /home/yannick/Documents/main.vala.c:12:6: error: expected identifier or ‘(’ before ‘goto’
- void goto (gint val);
- ^
- /home/yannick/Documents/main.vala.c: In function ‘_vala_main’:
- /home/yannick/Documents/main.vala.c:17:7: error: expected identifier or ‘*’ before ‘(’ token
- goto (33);
- ^
- /home/yannick/Documents/main.vala.c: In function ‘main’:
- /home/yannick/Documents/main.vala.c:24:2: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
- g_type_init ();
- ^
- /home/yannick/Documents/main.vala.c: At top level:
- /home/yannick/Documents/main.vala.c:29:6: error: expected identifier or ‘(’ before ‘goto’
- void goto (gint val) {
- ^
- error: cc exited with status 256
- Compilation failed: 1 error(s), 0 warning(s)
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement