diff options
| author | Yong He <yonghe@google.com> | 2019-01-29 11:41:54 -0800 |
|---|---|---|
| committer | Yong He <yonghe@google.com> | 2019-01-29 11:41:54 -0800 |
| commit | b7f8f7abcc3cc1dfa820ebba47a772b78d6a4cfb (patch) | |
| tree | 26d81dec1162ee9d26b811f0b7621e74ade9e06f /tests/diagnostics/attribute-error.slang.expected | |
| parent | f8b8ea0055ad877551198e1e295d33860b504672 (diff) | |
Add support for user defined attributes.
Diffstat (limited to 'tests/diagnostics/attribute-error.slang.expected')
| -rw-r--r-- | tests/diagnostics/attribute-error.slang.expected | 8 |
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 = { +} |
