aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/parse-fail-eof-in-string.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/parse-fail-eof-in-string.nix')
-rw-r--r--tests/functional/lang/parse-fail-eof-in-string.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/lang/parse-fail-eof-in-string.nix b/tests/functional/lang/parse-fail-eof-in-string.nix
new file mode 100644
index 000000000..19775d2ec
--- /dev/null
+++ b/tests/functional/lang/parse-fail-eof-in-string.nix
@@ -0,0 +1,3 @@
+# https://github.com/NixOS/nix/issues/6562
+# Note that this file must not end with a newline.
+a 1"$ \ No newline at end of file