#include <stdio.h> struct Suck { enum {Suck1 = 0, Suck2 = 1}; }; int s = Suck::Suck1; int main() { return 0; }
Standard input is empty
prog.c:4: warning: declaration does not declare anything prog.c:7: error: ‘Suck’ undeclared here (not in a function) prog.c:7: error: expected ‘,’ or ‘;’ before ‘:’ token
Standard output is empty