repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
llvm
/
test
/
Examples
/
Kaleidoscope
/
Chapter7.test
blob
4c77ebc42169dd7c0acb5f701fd9053d2ddd566e
1
# RUN: Kaleidoscope-Ch7 < %s 2>&1 | FileCheck %s
2
# REQUIRES: default_triple
3
4
# Sequence operator and iterative fibonacci function to test user defined vars.
5
def binary : 1 (x y) y;
6
7
def fibi(x)
8
var a = 1, b = 1, c in
9
(for i = 3, i < x in
10
c = a + b :
11
a = b :
12
b = c) :
13
b;
14
15
fibi(10);
16
# CHECK: Evaluated to 55.000000