MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / main

Function main

tests/p0515_2Test.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9};
10
11int main() {
12 constexpr Spaceship enterprise{2};
13
14 constexpr Spaceship millenniumFalcon{2};
15
16 // This will be rewritten: std::operator>=(s.operator<=>(y), 0)
17 static_assert(enterprise <= millenniumFalcon);
18
19 static_assert(enterprise == millenniumFalcon);
20}
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected