fork download
  1. struct foo{int bar;};
  2. __if_exists(foo::bar){
  3. static_assert(false,"ok");
  4. }
  5. int main(){return 0;}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2:12: error: expected constructor, destructor, or type conversion before ‘(’ token
 __if_exists(foo::bar){
            ^
stdout
Standard output is empty