mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 09:33:41 +02:00
Tests: Repair new test (#8538 repair)
This commit is contained in:
@@ -71,6 +71,10 @@
|
||||
: ... note: In instance 't'
|
||||
43 | a[x] = "bad";
|
||||
| ^
|
||||
%Error: t/t_assoc_wildcard_bad.v:43:7: Cannot convert 'class{}' handle to a string:'class{}Cls'
|
||||
: ... note: In instance 't'
|
||||
43 | a[x] = "bad";
|
||||
| ^
|
||||
%Error: t/t_assoc_wildcard_bad.v:45:7: Unknown wildcard associative array method 'bad_not_defined'
|
||||
: ... note: In instance 't'
|
||||
45 | a.bad_not_defined();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%Error: t/t_class_handle_to_string_port.sv:18:9: Cannot convert 'class{}' handle to a string:'class{}Base'
|
||||
: ... note: In instance 't'
|
||||
18 | c.f(seq);
|
||||
%Error: t/t_class_handle_to_string_port.v:21:9: Cannot convert 'class{}' handle to a string:'class{}Base'
|
||||
: ... note: In instance 't'
|
||||
21 | c.f(seq);
|
||||
| ^~~
|
||||
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
||||
%Error: Exiting due to
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
import vltest_bootstrap
|
||||
|
||||
test.scenarios('linter')
|
||||
test.top_filename = "t/t_class_handle_to_string_port.sv"
|
||||
|
||||
test.lint(fails=True, expect_filename=test.golden_filename)
|
||||
|
||||
|
||||
+4
-1
@@ -1,5 +1,8 @@
|
||||
// DESCRIPTION: Verilator: segfault in V3Width processFTaskRefArgs
|
||||
// varp->basicp() is nullptr for class-typed pin to string port
|
||||
//
|
||||
// This file ONLY is placed under the Creative Commons Public Domain.
|
||||
// SPDX-FileCopyrightText: 2026 Wilson Snyder
|
||||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
class Base;
|
||||
endclass
|
||||
Reference in New Issue
Block a user