systemc: Add an error check to sc_time.
authorGabe Black <gabeblack@google.com>
Sat, 22 Sep 2018 13:12:16 +0000 (06:12 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:28:06 +0000 (00:28 +0000)
commit0f6961d200e6334ca676f16f81280fbdec62b942
tree90b9ba29bea021a793705931024f37a56ba279f7
parent648b45c83072e5cb93eea804f24ca10af3ffa545
systemc: Add an error check to sc_time.

Change-Id: Ie525a1624a6496a51277fb984cbfeec21eb79749
Reviewed-on: https://gem5-review.googlesource.com/c/12966
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_time.cc
src/systemc/tests/systemc/kernel/sc_time/test16/expected_returncode [new file with mode: 0644]