r/CompileBot • • Jan 04 '14

Official CompileBot Testing Thread

This thread is archived, please visit the new testing thread

15 Upvotes

421 comments sorted by

View all comments

Show parent comment

2

u/CompileBot Mar 23 '14

Output:

#include <iostream>

auto const QUINE = R"***(

auto const BEFORE_QUINE =
"#include <iostream>\n\n"
"auto const QUINE = R\"***(";
auto const AFTER_QUINE = ")***\";";

int main()
{
std::cout << BEFORE_QUINE << QUINE << AFTER_QUINE << QUINE;
}
)***";

auto const BEFORE_QUINE =
"#include <iostream>\n\n"
"auto const QUINE = R\"***(";
auto const AFTER_QUINE = ")***\";";

int main()
{
std::cout << BEFORE_QUINE << QUINE << AFTER_QUINE << QUINE;
}

^source | ^info | ^git | ^report