Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / formatPreservation / traitAlias.test
diff --git a/vendor/nikic/php-parser/test/code/formatPreservation/traitAlias.test b/vendor/nikic/php-parser/test/code/formatPreservation/traitAlias.test
new file mode 100644 (file)
index 0000000..8774bb6
--- /dev/null
@@ -0,0 +1,19 @@
+Trait alias
+-----
+<?php
+class X {
+    use T {
+        exit
+            as die;
+    }
+}
+-----
+/* do nothing */
+-----
+<?php
+class X {
+    use T {
+        exit
+            as die;
+    }
+}
\ No newline at end of file