Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / tests / new-exp2.sub
index 5e922aa..e837779 100644 (file)
@@ -34,3 +34,9 @@ set +o posix
 # now see what happens when we try it with a non-existant file
 LINES3=$(< /tmp/redir-notthere)
 echo $?
+
+# These were bugs through bash-4.2
+{ : "$({xxxxxxxxxxxxxxxxxxxx}</dev/stdin)"; } <<<'hi'
+echo ${xxxxxxxxxxxxxxxxxxxx}
+
+{ echo "$(1111111111111111111111</dev/stdin)"; } <<<'hi'