summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-29 22:45:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-29 22:45:13 +0000
commit1bc4363c5e75dbe5b544a03b9cb2b115b26c9536 (patch)
treea93c5310e4930b3ddf37c226942b814fb46f75e6 /test
parent9f5f676d82fbf68e81c7d592a4f45fab7dd425bc (diff)
add test for [ruby-dev:24643].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_regexp.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
new file mode 100644
index 0000000000..ea78abdc41
--- /dev/null
+++ b/test/ruby/test_regexp.rb
@@ -0,0 +1,7 @@
+require 'test/unit'
+
+class TestRegexp < Test::Unit::TestCase
+ def test_undefined_bytecode_bug
+ assert_nothing_raised("[ruby-dev:24643]") { /(?:(?:[a]*[a])?b)*a*$/ =~ "aabaaca" }
+ end
+end