New source
ai/code-review AI review reported findings
hello-world/pipeline/head There was a failure building this commit

This commit is contained in:
2026-05-03 21:27:57 +01:00
parent 959c4304b3
commit d53655f4f4
+8 -10
View File
@@ -1,15 +1,13 @@
#include <iostream> #include <iostream>
const std::string& get_greeting() {
return "Hello, world!";
}
// Add the number of things.
int add_6(int cx) {
return 6 + cx;
}
int main() { int main() {
std::cout << "Hello, world!" << add_6(5) << std::endl;
return 0; auto max_value = 100;
auto total;
for (int i = 0; i < max_value; ++i) {
total += i;
}
std::cout << "Total: " << total << std::endl;
} }