Source Mode Test

Table of contents

int main() {}
void foo() {}
Plain text...

int main() {} but plain text.

int main() {} and int main() {} should both be C++ highlighted. int main() {} shouldn't be, but int main() {} should.

int main() {}. Not highlighted: int main() {}.

C++ section

int main() {}