verilator/test_regress/t/t_math_shift_over_bad.pl

22 lines
627 B
Perl
Raw Normal View History

2016-09-16 22:15:32 +00:00
#!/usr/bin/perl
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
#
# Copyright 2010 by Wilson Snyder. This program is free software; you can
# redistribute it and/or modify it under the terms of either the GNU
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
scenarios(vlt_all => 1);
2016-09-16 22:15:32 +00:00
compile(
2016-09-16 22:15:32 +00:00
verilator_flags2 => ["--lint-only"],
fails => 1,
expect =>
2016-09-16 22:15:32 +00:00
'%Error: Internal Error: .*: Value too wide for 32-bits expected in this context 64\'h123456789abcdef
.',
);
ok(1);
1;