/*
 * Copyright 2017, Data61, CSIRO (ABN 41 687 119 230)
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <autoconf.h>
#include <assert.h>
#include <camkes.h>
#include <stdio.h>

#ifdef NDEBUG
#error "this test application needs assertions enabled"
#endif

#ifdef CONFIG_CAMKES_OPTIMISATION_CALL_LEAVE_REPLY_CAP
#error "this test required lazy save of reply caps to be disabled"
#endif

int incoming_echo(int x)
{
    return x;
}

int run(void)
{
    int y = outgoing_echo(42);
    assert(y == 42);
    printf("All OK\n");
    return 0;
}
