MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / main

Function main

11.07-likely1/main.cpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <cstdio>
5
6int main(int value, const char*[])
7{
8switch(value) {
9 case 0: puts("Hello"); break;
10 [[likely]] case 1: puts("World"); break;
11 case 2: puts("C++"); break;
12}
13
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected