aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/err/0005_attribute_recover.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-20 21:36:17 +0000
committerAleksey Kladov <[email protected]>2018-01-20 21:36:17 +0000
commitc8cf1d8cdac48f48caf9505bd5dc20dd2b962317 (patch)
treea0a12de32911a26e047551eb3b3bc99a58529ec7 /tests/data/parser/err/0005_attribute_recover.rs
parentefd538d793c714a3167a216f032be7b7d34c1d57 (diff)
Test attribute recovery
Diffstat (limited to 'tests/data/parser/err/0005_attribute_recover.rs')
-rw-r--r--tests/data/parser/err/0005_attribute_recover.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/parser/err/0005_attribute_recover.rs b/tests/data/parser/err/0005_attribute_recover.rs
new file mode 100644
index 000000000..de7f81628
--- /dev/null
+++ b/tests/data/parser/err/0005_attribute_recover.rs
@@ -0,0 +1,8 @@
1#[foo(foo, +, 92)]
2fn foo() {
3}
4
5
6#[foo(
7fn foo() {
8}