diff --git a/core/lib/Drupal/Core/Template/TwigExtension.php b/core/lib/Drupal/Core/Template/TwigExtension.php
index 65fa8cc..da6e370 100644
--- a/core/lib/Drupal/Core/Template/TwigExtension.php
+++ b/core/lib/Drupal/Core/Template/TwigExtension.php
@@ -76,6 +76,7 @@ public function getFunctions() {
       new \Twig_SimpleFunction('path', array($this, 'getPath'), array('is_safe_callback' => array($this, 'isUrlGenerationSafe'))),
       new \Twig_SimpleFunction('url_from_path', array($this, 'getUrlFromPath'), array('is_safe_callback' => array($this, 'isUrlGenerationSafe'))),
       new \Twig_SimpleFunction('link', array($this, 'getLink')),
+      new \Twig_SimpleFunction('file_create_url', 'file_create_url'),
     );
   }
 
diff --git a/core/modules/system/src/Tests/Theme/EngineTwigTest.php b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
index acfd1d1..75cd0ba 100644
--- a/core/modules/system/src/Tests/Theme/EngineTwigTest.php
+++ b/core/modules/system/src/Tests/Theme/EngineTwigTest.php
@@ -65,7 +65,7 @@ public function testTwigUrlGenerator() {
   }
 
   /**
-   * Tests the link_generator twig functions.
+   * Tests the link_generator Twig functions.
    */
   public function testTwigLinkGenerator() {
     $this->drupalGet('twig-theme-test/link-generator');
@@ -83,4 +83,13 @@ public function testTwigLinkGenerator() {
     }
   }
 
+  /**
+   * Tests the file url Twig functions.
+   */
+  public function testTwigFileUrls() {
+    $this->drupalGet('/twig-theme-test/file-create-url');
+    $filepath = file_create_url('core/assets/vendor/jquery/jquery.js');
+    $this->assertRaw('<div>file_create_url: ' . $filepath . '</div>');
+  }
+
 }
diff --git a/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
index f657c4d..9f4b71e 100644
--- a/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
+++ b/core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php
@@ -49,4 +49,13 @@ public function linkGeneratorRender() {
     );
   }
 
+  /**
+   * Renders for testing file_create_url functions in a Twig template.
+   */
+  public function fileCreateUrlRender() {
+    return array(
+      '#theme' => 'twig_theme_test_file_create_url',
+    );
+  }
+
 }
diff --git a/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_create_url.html.twig b/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_create_url.html.twig
new file mode 100644
index 0000000..2146d29
--- /dev/null
+++ b/core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.file_create_url.html.twig
@@ -0,0 +1 @@
+<div>file_create_url: {{ file_create_url('core/assets/vendor/jquery/jquery.js') }}</div>
diff --git a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
index b754ffa..294136a 100644
--- a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
+++ b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.module
@@ -33,6 +33,10 @@ function twig_theme_test_theme($existing, $type, $theme, $path) {
     'variables' => array('test_url' => NULL),
     'template' => 'twig_theme_test.link_generator',
   );
+  $items['twig_theme_test_file_create_url'] = array(
+    'variables' => array(),
+    'template' => 'twig_theme_test.file_create_url',
+  );
   return $items;
 }
 
diff --git a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
index 695645b..82b0fee 100644
--- a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
+++ b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml
@@ -25,3 +25,10 @@ twig_theme_test_link_generator:
     _controller: '\Drupal\twig_theme_test\TwigThemeTestController::linkGeneratorRender'
   requirements:
     _access: 'TRUE'
+
+twig_theme_test_file_url:
+  path: '/twig-theme-test/file-create-url'
+  defaults:
+    _controller: '\Drupal\twig_theme_test\TwigThemeTestController::fileCreateUrlRender'
+  requirements:
+    _access: 'TRUE'
