diff options
Diffstat (limited to 'testing/tests/ui/break_outside_of_loop.rs')
-rw-r--r-- | testing/tests/ui/break_outside_of_loop.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/tests/ui/break_outside_of_loop.rs b/testing/tests/ui/break_outside_of_loop.rs new file mode 100644 index 0000000..ccbb0a9 --- /dev/null +++ b/testing/tests/ui/break_outside_of_loop.rs @@ -0,0 +1,11 @@ +use askama::Template; + +#[derive(Template)] +#[template( + source = "Have a {%break%}, have a parsing error!", + ext = "txt" +)] +struct MyTemplate; + +fn main() { +} |