Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

16 lines
307 B
Plaintext

# RUN: Kaleidoscope-Ch7 < %s 2>&1 | FileCheck %s
# Sequence operator and iterative fibonacci function to test user defined vars.
def binary : 1 (x y) y;
def fibi(x)
var a = 1, b = 1, c in
(for i = 3, i < x in
c = a + b :
a = b :
b = c) :
b;
fibi(10);
# CHECK: Evaluated to 55.000000