summaryrefslogtreecommitdiff
path: root/tests/diagnostics/attribute-error.slang.expected
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2019-01-29 15:18:15 -0800
committerGitHub <noreply@github.com>2019-01-29 15:18:15 -0800
commit685a811e3d4405c4619e974e3610902d621efee7 (patch)
tree40bcf976326a303373d53dae0ff11ef6a5518b3e /tests/diagnostics/attribute-error.slang.expected
parentf8b8ea0055ad877551198e1e295d33860b504672 (diff)
parentc1761283e7bb6b5cfcedf910e76fd4f939395b1d (diff)
Merge pull request #812 from csyonghe/attribute
Add support for user defined attributes
Diffstat (limited to 'tests/diagnostics/attribute-error.slang.expected')
-rw-r--r--tests/diagnostics/attribute-error.slang.expected8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/diagnostics/attribute-error.slang.expected b/tests/diagnostics/attribute-error.slang.expected
new file mode 100644
index 000000000..e372eb957
--- /dev/null
+++ b/tests/diagnostics/attribute-error.slang.expected
@@ -0,0 +1,8 @@
+result code = 1
+standard error = {
+tests/diagnostics/attribute-error.slang(19): error 30019: expected an expression of type 'float', got 'String'
+tests/diagnostics/attribute-error.slang(22): error 31002: attribute 'MyStruct' is not valid here
+tests/diagnostics/attribute-error.slang(24): error 39999: expression does not evaluate to a compile-time constant
+}
+standard output = {
+}