aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorThéo Zimmermann2020-03-18 19:45:21 +0100
committerThéo Zimmermann2020-03-19 18:05:04 +0100
commit4b37834a2ed6a275daec1c98fac19795f96712ce (patch)
tree35db898529e6843d0d0fb43b3b8779ac50224c29 /test-suite
parent82960d49d08372c345da972f16c3fbcc1c2073b1 (diff)
Interpret the Export modifier of Set and Unset as an attribute.
Unfortunately, we cannot go further and parse Export as a legacy attribute because this syntax conflicts with the Export command.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/attribute_syntax.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/attribute_syntax.v b/test-suite/success/attribute_syntax.v
index 4717759dec..b403fc120c 100644
--- a/test-suite/success/attribute_syntax.v
+++ b/test-suite/success/attribute_syntax.v
@@ -36,3 +36,10 @@ Check M.zed@{_}.
Fail Check zed.
Check M.kats@{_}.
Fail Check kats.
+
+Export Set Foo.
+
+#[ export ] Set Foo.
+
+Fail #[ export ] Export Foo.
+(* Attribute for Locality specified twice *)