aboutsummaryrefslogtreecommitdiff
path: root/test/hello.cpp
blob: 9337000f646fa86f69bb6b8d6c801b4e876e4ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <print>

auto add(int a, int b) -> int
{
    int result = a+b;
    return result;
}

auto main() -> int
{
    int a = 50;
    int b = 67;
    int c = add(a, b);

    std::println("{} + {} = {}", a, b, c);
}