aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/parse-fail-dup-attrs-1.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/parse-fail-dup-attrs-1.err.exp')
-rw-r--r--tests/functional/lang/parse-fail-dup-attrs-1.err.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/lang/parse-fail-dup-attrs-1.err.exp b/tests/functional/lang/parse-fail-dup-attrs-1.err.exp
new file mode 100644
index 000000000..4fe6b7a1f
--- /dev/null
+++ b/tests/functional/lang/parse-fail-dup-attrs-1.err.exp
@@ -0,0 +1,7 @@
+error: attribute 'x' already defined at «stdin»:1:3
+
+ at «stdin»:3:3:
+
+ 2| y = 456;
+ 3| x = 789;
+ | ^