1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
16 product (int x, int y)
30 strange_max (int m, int n)
43 if (strange_max (i, j) == i)
44 return product (i, j);
45 else if (strange_max (i, j) == j)
48 return product (sum (i, i), sum (j, j));
52 main(int argc, char const *argv[])
57 array[0] = foo (1238, 78392);
58 array[1] = foo (379265, 23674);
59 array[2] = foo (872934, 234);