diff --git a/ivtest/ivltests/br_gh699.v b/ivtest/ivltests/br_gh699.v new file mode 100644 index 000000000..841801109 --- /dev/null +++ b/ivtest/ivltests/br_gh699.v @@ -0,0 +1,9 @@ + +// This should generate an error reporting the undef_func, but not segfault. +module test1; + function [31:0] func1 (input [31:0] x); + return undef_func(x); + endfunction : func1 + + localparam X = func1(1); +endmodule : test1 diff --git a/ivtest/regress-sv.list b/ivtest/regress-sv.list index aa1b7517c..d28634ee3 100644 --- a/ivtest/regress-sv.list +++ b/ivtest/regress-sv.list @@ -210,6 +210,7 @@ br_gh568 normal,-g2009 ivltests br_gh661a normal,-g2009 ivltests br_gh661b normal,-g2009 ivltests br_gh672 normal,-g2009 ivltests +br_gh699 CE,-g2009 ivltests br_ml20171017 normal,-g2009 ivltests br_ml20180227 CE,-g2009 ivltests br_ml20180309a normal,-g2009 ivltests