#include #include "common.cc" #include "memory.cc" static const char* SOURCE = R"( #include int main() { return EXIT_FAILURE; } )"; static const String SOURCE_STRING = {(u8*)SOURCE, strlen(SOURCE)}; int main() { String source; slice_copy(heap_allocator(), &SOURCE_STRING, &source); slice_write(&source, stdout); slice_deallocate(heap_allocator(), &source); }