mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-02 10:54:04 +03:00
24 lines
270 B
C
24 lines
270 B
C
#include <stdint.h>
|
|
|
|
// A global to compare against
|
|
int64_t g = 5;
|
|
|
|
// Max of three values
|
|
int64_t max3(int64_t a, int64_t b)
|
|
{
|
|
int64_t mx = a;
|
|
if(mx <= b)
|
|
mx = b;
|
|
|
|
if(mx <= g)
|
|
mx = g;
|
|
|
|
return mx;
|
|
}
|
|
|
|
void _start()
|
|
{
|
|
int64_t r = max3(3, 4);
|
|
return;
|
|
}
|