From: Lang Hames Date: Mon, 19 Oct 2020 07:33:31 +0000 (-0700) Subject: [examples] Fix test: Kaleidoscope Chapter 4 no longer supports redefinition. X-Git-Tag: llvmorg-13-init~8940 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=039f3d01cbff8e162b38671f2e8ff802b74298c8;p=platform%2Fupstream%2Fllvm.git [examples] Fix test: Kaleidoscope Chapter 4 no longer supports redefinition. 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. --- diff --git a/llvm/test/Examples/Kaleidoscope/Chapter4.test b/llvm/test/Examples/Kaleidoscope/Chapter4.test index cf8f743..3d1ab54 100644 --- a/llvm/test/Examples/Kaleidoscope/Chapter4.test +++ b/llvm/test/Examples/Kaleidoscope/Chapter4.test @@ -7,12 +7,3 @@ 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 -