int main(){ int a; auto b = ()=>{a++;}; b(); assert(a==1); return 0;}
Standard input is empty
Standard output is empty
core.exception.AssertError@prog.d(6): Assertion failure
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!