aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures/throws.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/autoloading_fixtures/throws.rb')
-rw-r--r--activesupport/test/autoloading_fixtures/throws.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/test/autoloading_fixtures/throws.rb b/activesupport/test/autoloading_fixtures/throws.rb
new file mode 100644
index 0000000000..b6fb391032
--- /dev/null
+++ b/activesupport/test/autoloading_fixtures/throws.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+Throws = 1
+_ = A::B # Autoloading recursion, expected to be discarded.
+
+throw :t