summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/pipeline/shell.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/tests/non262/pipeline/shell.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/tests/non262/pipeline/shell.js b/js/src/tests/non262/pipeline/shell.js
new file mode 100644
index 0000000000..1ee63dd18c
--- /dev/null
+++ b/js/src/tests/non262/pipeline/shell.js
@@ -0,0 +1,9 @@
+function hasPipeline() {
+ try {
+ Function('a |> a');
+ } catch (e) {
+ return false;
+ }
+
+ return true;
+}