summaryrefslogtreecommitdiffhomepage
path: root/test/t/codegen.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/codegen.rb')
-rw-r--r--test/t/codegen.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/t/codegen.rb b/test/t/codegen.rb
index 12c35f2b3..881e2de20 100644
--- a/test/t/codegen.rb
+++ b/test/t/codegen.rb
@@ -165,6 +165,12 @@ assert('register window of calls (#3783)') do
check_node_yield{}
end
+ # NODE_DXSTR
+ assert_raise(NotImplementedError){ `#{:dynamic}` }
+
+ # NODE_XSTR
+ assert_raise(NotImplementedError){ `static` }
+
# NODE_UNDEF
assert_nothing_raised do
class << Object.new