Skip to content

Commit

Permalink
Merge pull request #31 from abbottz/master
Browse files Browse the repository at this point in the history
Shazamammm
  • Loading branch information
amangel committed May 3, 2012
2 parents 29ecce7 + 1319c22 commit e78eb17
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions sampleFlairPrograms/Optimize/deadCode.fl
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
program functiontest (third : integer, fourth : real);
function func1 (first : integer, second : integer) : integer
function func1 (first : integer) : integer
begin
first := 3;
return first;
first := 2 + 3;
print(first)
print(first);
while first > 10 do
begin
print (first);
first := first + 2;
first := first - 3
end;
end;

begin
print( func1(10, 1) )
print( func1(10) )
end.

0 comments on commit e78eb17

Please sign in to comment.