diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,10 @@ main ::= fn() { } foo ::= fn(x: int) int { - return 3*x; + if x == 3 { + return 7; + } else { + return 3*x; + } } |
index : toc.git | ||
A programming language which compiles to C | root |
summaryrefslogtreecommitdiff |