From dd980b492aba9ea1540193434184489d9d04608d Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 7 Aug 2020 18:36:01 -0700 Subject: AnyValue packing/unpacking pass. (#1480) * AnyValue packing/unpacking pass. * Add diagnostic for types that does not fit in required AnyValueSize. * Add expected test result * Fix warnings. --- .../diagnostics/interfaces/anyvalue-size-validation.slang.expected | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/diagnostics/interfaces/anyvalue-size-validation.slang.expected (limited to 'tests/diagnostics/interfaces/anyvalue-size-validation.slang.expected') diff --git a/tests/diagnostics/interfaces/anyvalue-size-validation.slang.expected b/tests/diagnostics/interfaces/anyvalue-size-validation.slang.expected new file mode 100644 index 000000000..e88b6bd5d --- /dev/null +++ b/tests/diagnostics/interfaces/anyvalue-size-validation.slang.expected @@ -0,0 +1,6 @@ +result code = -1 +standard error = { +tests/diagnostics/interfaces/anyvalue-size-validation.slang(11): error 41011: type 'S' does not fit in the size required by its conforming interface. +} +standard output = { +} -- cgit v1.2.3