From ba9da64207ec9a86ec1c71350797b4e49e6aae8b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 3 Jun 2013 19:08:15 -0400 Subject: [PATCH] Fix t_trace_cat test, bug654. --- test_regress/t/t_trace_cat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_regress/t/t_trace_cat.cpp b/test_regress/t/t_trace_cat.cpp index 86b5149d6..020037742 100644 --- a/test_regress/t/t_trace_cat.cpp +++ b/test_regress/t/t_trace_cat.cpp @@ -63,7 +63,7 @@ int main(int argc, char **argv, char **env) { #elif defined(T_TRACE_CAT_RENEW) tfp->close(); delete tfp; - VerilatedVcdC* tfp = new VerilatedVcdC; + tfp = new VerilatedVcdC; top->trace(tfp,99); tfp->open(trace_name()); #else