mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
d7a7129dcf
This may be fixed in the future, but since redefinition in OrcV2 requires more manual work on the JIT client's part it was left out of the most recent update to the tutorials.
10 lines
207 B
Plaintext
10 lines
207 B
Plaintext
# 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
|
|
|