diff options
author | Matt Valentine-House <matt@eightbitraptor.com> | 2023-09-19 14:46:30 +0100 |
---|---|---|
committer | Matt Valentine-House <matt@eightbitraptor.com> | 2023-09-19 19:52:32 +0100 |
commit | 7dee7e611661c335321c2bb8e6b4738ab9f7c2fd (patch) | |
tree | 20a3c0139ce18b37a535d6ce22c7a401f62aa165 /test/yarp | |
parent | 901d0b41254cfc41b337d755e9512ff78f51cbe2 (diff) | |
download | ruby-7dee7e611661c335321c2bb8e6b4738ab9f7c2fd.tar.gz |
[YARP] Implement GlobalVariableTargetNode
Diffstat (limited to 'test/yarp')
-rw-r--r-- | test/yarp/compiler_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/yarp/compiler_test.rb b/test/yarp/compiler_test.rb index fdcc85eedd..07e2473283 100644 --- a/test/yarp/compiler_test.rb +++ b/test/yarp/compiler_test.rb @@ -137,6 +137,10 @@ module YARP # test_yarp_eval("YARP::YCT = 1") end + def test_GlobalVariableTargetNode + test_yarp_eval("$yct, $yct1 = 1") + end + def test_GlobalVariableWriteNode test_yarp_eval("$yct = 1") end |