From 9304c2d04c9bfbae33cc328d404b24aba375aa4f Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 21 Oct 2021 15:51:18 -0700 Subject: Diagnostic for no type conformance + bug fix. (#1985) * Diagnostic for no type conformance + bug fix. * Fixes. * Fix. * Include heterogeneous example only with --enable-experimental-projects premake flag Co-authored-by: Yong He Co-authored-by: jsmall-nvidia --- tests/diagnostics/no-type-conformance.slang.expected | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/diagnostics/no-type-conformance.slang.expected (limited to 'tests/diagnostics/no-type-conformance.slang.expected') diff --git a/tests/diagnostics/no-type-conformance.slang.expected b/tests/diagnostics/no-type-conformance.slang.expected new file mode 100644 index 000000000..bc38fa7f1 --- /dev/null +++ b/tests/diagnostics/no-type-conformance.slang.expected @@ -0,0 +1,8 @@ +result code = -1 +standard error = { +tests/diagnostics/no-type-conformance.slang(4): error 50100: No type conformances are found for interface 'IFoo'. Code generation for current target requires at least one implementation type present in the linkage. +interface IFoo + ^~~~ +} +standard output = { +} -- cgit v1.2.3