fork download
  1. struct S;
  2.  
  3. S *f( void );
  4. void ( S::*g( void ) )( void );
  5.  
  6. int main( void )
  7. {
  8. ( f()->*g() )();
  9. }
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/K42Eks/ccFSoSiy.o: In function `main':
prog.cpp:(.text+0x1a): undefined reference to `f()'
prog.cpp:(.text+0x28): undefined reference to `g()'
collect2: ld returned 1 exit status
stdout
Standard output is empty