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

Function main

tests/p0515Test.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23};
24
25int main() {
26 constexpr int y = 2;
27
28 constexpr Spaceship millenniumFalcon{3};
29
30 // This will be rewritten: std::operator>=(s.operator<=>(y), 0)
31 static_assert(millenniumFalcon >= y);
32
33 static_assert(y <= millenniumFalcon);
34
35 static_assert(not (y == millenniumFalcon));
36 static_assert(not (millenniumFalcon == y));
37}
38

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected