From 583748c67453a62382e0c0e77aa8ca6535900ae0 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 14 May 2024 10:02:08 +0200 Subject: MHR-21: Add function signature to output (C++) Signed-off-by: Amlal El Mahrouss --- Examples/ExampleCPlusPlus.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Examples/ExampleCPlusPlus.cxx') diff --git a/Examples/ExampleCPlusPlus.cxx b/Examples/ExampleCPlusPlus.cxx index ebdf7c3..6012b52 100644 --- a/Examples/ExampleCPlusPlus.cxx +++ b/Examples/ExampleCPlusPlus.cxx @@ -1,14 +1,12 @@ int main(int argc, char const* argv[]) { - int foo = 20; - foo -= 1; - { bool bar = false; - bar = true; + bar = 1; bool bar2 = bar; + bar2 = false; } - return foo; + return 0; } -- cgit v1.2.3