summaryrefslogtreecommitdiffstats
path: root/llvm/test/Examples/Kaleidoscope/Chapter6.test
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2015-08-27 18:54:41 +0000
committerLang Hames <lhames@gmail.com>2015-08-27 18:54:41 +0000
commita9248a2696e66ed9a5bae14076f360b034f32b8a (patch)
tree24b66b4ac5573e32ead47389e29c031eef1e7417 /llvm/test/Examples/Kaleidoscope/Chapter6.test
parent533fde9f4d6544116d04462fff2c64ab36348f0a (diff)
downloadbcm5719-llvm-a9248a2696e66ed9a5bae14076f360b034f32b8a.tar.gz
bcm5719-llvm-a9248a2696e66ed9a5bae14076f360b034f32b8a.zip
Revert r246175 to get builder green again.
llvm-svn: 246185
Diffstat (limited to 'llvm/test/Examples/Kaleidoscope/Chapter6.test')
-rw-r--r--llvm/test/Examples/Kaleidoscope/Chapter6.test15
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
-
OpenPOWER on IntegriCloud