Sign in
llvm
/
llvm-project
/
llvm
/
a62701e298d2ab7bbd807d5f39a33e917a9b4170
/
.
/
test
/
Examples
/
Kaleidoscope
/
Chapter4.test
blob: 3d1ab54543f5a2f67260248f64cc5bcb58165b94 [
file
]
# RUN: Kaleidoscope-Ch4 < %s 2>&1 | FileCheck %s
# REQUIRES: default_triple
# Test basic definition, binding, and execution.
def
foo
(
x
)
x
+
1
;
def
bar
(
x
)
foo
(
2
*
x
);
bar
(
2
);
# CHECK: Evaluated to 5.000000