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