diff --git a/core/modules/system/src/Tests/Routing/RouterTest.php b/core/modules/system/src/Tests/Routing/RouterTest.php
index 38d7ecb..384a66b 100644
--- a/core/modules/system/src/Tests/Routing/RouterTest.php
+++ b/core/modules/system/src/Tests/Routing/RouterTest.php
@@ -323,4 +323,9 @@ public function testLeadingSlashes() {
     $this->assertUrl($request->getUriForPath('/router_test/test1') . '?qs=test');
   }
 
+  public function testNoRequirements() {
+    $this->drupalGet('router-test/no-requirements');
+    $this->assertResponse(403);
+  }
+
 }
diff --git a/core/modules/system/tests/modules/router_test_directory/router_test.routing.yml b/core/modules/system/tests/modules/router_test_directory/router_test.routing.yml
index 4d5d241..352ca32 100644
--- a/core/modules/system/tests/modules/router_test_directory/router_test.routing.yml
+++ b/core/modules/system/tests/modules/router_test_directory/router_test.routing.yml
@@ -247,3 +247,8 @@ router_test.case_sensitive_duplicate3:
     _controller: '\Drupal\router_test\TestControllers::testRouteName'
   requirements:
     _access: 'TRUE'
+
+router_test.no_requirements:
+  path: '/router-test/no-requirements'
+  defaults:
+    _controller: '\Drupal\router_test\TestControllers::test1'
