You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
17
external/llvm/test/Examples/Kaleidoscope/Chapter4.test
vendored
Normal file
17
external/llvm/test/Examples/Kaleidoscope/Chapter4.test
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# RUN: Kaleidoscope-Ch4 < %s 2>&1 | FileCheck %s
|
||||
|
||||
# Test basic definition, binding, and execution.
|
||||
def foo(x) x + 1;
|
||||
def bar(x) foo(2 * x);
|
||||
bar(2);
|
||||
# CHECK: Evaluated to 5.000000
|
||||
|
||||
# Test redefinition.
|
||||
def foo(x) x + 2;
|
||||
foo(2);
|
||||
# CHECK: Evaluated to 4.000000
|
||||
|
||||
# Verify that 'bar' still calls the original 'foo'.
|
||||
bar(2);
|
||||
# CHECK: Evaluated to 5.000000
|
||||
|
Reference in New Issue
Block a user