diff options
Diffstat (limited to 'llvm/test/Examples/Kaleidoscope/Chapter6.test')
| -rw-r--r-- | llvm/test/Examples/Kaleidoscope/Chapter6.test | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/Examples/Kaleidoscope/Chapter6.test b/llvm/test/Examples/Kaleidoscope/Chapter6.test deleted file mode 100644 index cbdd01f5268..00000000000 --- a/llvm/test/Examples/Kaleidoscope/Chapter6.test +++ /dev/null @@ -1,15 +0,0 @@ -# RUN: Kaleidoscope-Ch6 < %s 2>&1 | FileCheck %s - -# Test unary operator definition. -def unary-(x) 0 - x; -1 + (-1); -# CHECK: Evaluated to 0.000000 - -# Test binary operator definition. -def binary> 10 (lhs rhs) rhs < lhs; -def foo(x) if x > 10 then 0 else 1; -foo(9); -foo(11); -# CHECK: Evaluated to 1.000000 -# CHECK: Evaluated to 0.000000 - |

