Ligne 48 : |
Ligne 48 : |
| =Actionneurs= | | =Actionneurs= |
| | | |
− | --><syntaxhighlight lang="c" line="1">
| + | <syntaxhighlight lang="c"> |
− | #include <iostream>
| + | long some_function(); |
| + | /* int */ other_function(); |
| | | |
− | int main() | + | /* int */ calling_function() |
| { | | { |
− | std::cout << "Hello, world!\n"; | + | long test1; |
| + | register /* int */ test2; |
| + | |
| + | test1 = some_function(); |
| + | if (test1 > 0) |
| + | test2 = 0; |
| + | else |
| + | test2 = other_function(); |
| + | return test2; |
| } | | } |
− | </syntaxhighlight><!-- | + | </syntaxhighlight> |