1 # RUN: Kaleidoscope-Ch5 < %s 2>&1 | FileCheck %s
3 # Test 'if' expression.
4 def foo(x) if x < 10 then 0 else 1;
7 # CHECK: Evaluated to 0.000000
8 # CHECK: Evaluated to 1.000000
10 # Test 'for' expression.
12 for i = 1, i < 5, 1.0 in
19 # CHECK: Evaluated to 0.000000