diff --git a/core/modules/layout/lib/Drupal/layout/Tests/LayoutDerivativesTest.php b/core/modules/layout/lib/Drupal/layout/Tests/LayoutDerivativesTest.php
index f41460c..96c1679 100644
--- a/core/modules/layout/lib/Drupal/layout/Tests/LayoutDerivativesTest.php
+++ b/core/modules/layout/lib/Drupal/layout/Tests/LayoutDerivativesTest.php
@@ -107,4 +107,14 @@ function testPageLayout() {
     // Ensure the CSS was added.
     $this->assertRaw('@import url("' . url('', array('absolute' => TRUE)) . drupal_get_path('theme', 'layout_test_theme') . '/layouts/static/two-col/two-col.css');
   }
+
+  /**
+   * Ensure layout does not restrict access to user pages.
+   */
+  public function testUserAccessRegression() {
+    $this->drupalLogin($this->root_user);
+    $this->assertUrl('user/' . $this->root_user->uid);
+    $this->assertResponse(200);
+  }
+
 }
