aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/lit_on_assignment_lhs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ui/lit_on_assignment_lhs.rs')
-rw-r--r--testing/tests/ui/lit_on_assignment_lhs.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/tests/ui/lit_on_assignment_lhs.rs b/testing/tests/ui/lit_on_assignment_lhs.rs
new file mode 100644
index 0000000..1793770
--- /dev/null
+++ b/testing/tests/ui/lit_on_assignment_lhs.rs
@@ -0,0 +1,11 @@
+use askama::Template;
+
+#[derive(Template)]
+#[template(
+ source = "{%let 7=x%}",
+ ext = "txt"
+)]
+struct MyTemplate;
+
+fn main() {
+}