diff --git a/tests/pass.rs b/tests/pass.rs index 91b51ec9ad..4d0cfb66fc 100644 --- a/tests/pass.rs +++ b/tests/pass.rs @@ -122,3 +122,8 @@ fn overriding() { fn recursive_let() { check_file("recursive_let.ncl"); } + +#[test] +fn quote_in_indentifier() { + check_file("quote_in_identifier.ncl") +} diff --git a/tests/pass/quote_in_identifier.ncl b/tests/pass/quote_in_identifier.ncl new file mode 100644 index 0000000000..241cc7ae20 --- /dev/null +++ b/tests/pass/quote_in_identifier.ncl @@ -0,0 +1,3 @@ +let Assert = fun l x => x || %blame% l in + +let this-isn't-invalid = true in this-isn't-invalid | Assert