1 # RUN: Kaleidoscope-Ch6 < %s 2>&1 | FileCheck %s
3 # Test unary operator definition.
6 # CHECK: Evaluated to 0.000000
8 # Test binary operator definition.
9 def binary> 10 (lhs rhs) rhs < lhs;
10 def foo(x) if x > 10 then 0 else 1;
13 # CHECK: Evaluated to 1.000000
14 # CHECK: Evaluated to 0.000000