summaryrefslogtreecommitdiff
path: root/tests/cxx/parser/validation/attribute/test-000.std
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/parser/validation/attribute/test-000.std')
-rw-r--r--tests/cxx/parser/validation/attribute/test-000.std24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/cxx/parser/validation/attribute/test-000.std b/tests/cxx/parser/validation/attribute/test-000.std
new file mode 100644
index 0000000..847b054
--- /dev/null
+++ b/tests/cxx/parser/validation/attribute/test-000.std
@@ -0,0 +1,24 @@
+pass-a
+{
+ b = b
+ any: test#foo = foo
+ any: test#bar = bar
+}
+
+pass-b
+{
+ a = a
+ b = b
+}
+
+pass-c
+{
+ a = a
+ b = b
+}
+
+fail
+{
+ :8:10 error: expected attribute 'a'
+}
+