#include <iostream>
#include <string>
#include <vector>
#include <cassert>
#include <cmath>
#include <complex>
#include <Kokkos_Core.hpp>
#include <lfortran_intrinsics.h>

template <typename T>
Kokkos::View<T*> from_std_vector(const std::vector<T> &v)
{
    Kokkos::View<T*> r("r", v.size());
    for (size_t i=0; i < v.size(); i++) {
        r(i) = v[i];
    }
    return r;
}

// Forward declarations
namespace {
}

// Implementations
namespace {

void main2() {
    int32_t i;
    float r;
    float x;
    r =   1.50000000000000000e+00;
    i = 2;
    x = (float)(i*i);
    x = r*r;
    x = (float)(i)*r;
    x = r*(float)(i);
    x = (float)(i + i);
    x = r + r;
    x = r + (float)(i);
    x = (float)(i) + r;
    x = (float)(i - i);
    x = r - r;
    x = r - (float)(i);
    x = (float)(i) - r;
    x = (float)(i/i);
    x = r/r;
    x = (float)(i)/r;
    x = r/(float)(i);
}

}
int main(int argc, char* argv[])
{
    Kokkos::initialize(argc, argv);
    main2();
    Kokkos::finalize();
    return 0;
}
