aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/elif.rs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ui/elif.rs')
-rw-r--r--testing/tests/ui/elif.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/elif.rs b/testing/tests/ui/elif.rs
new file mode 100644
index 0000000..650f292
--- /dev/null
+++ b/testing/tests/ui/elif.rs
@@ -0,0 +1,8 @@
+use askama::Template;
+
+#[derive(Template)]
+#[template(source = "{% if true %}{% elif false %}{% endif %}", ext = "html")]
+struct UnknownElif;
+
+fn main() {
+}