mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Cleanup some string constructors. No functional change.
This commit is contained in:
@@ -109,7 +109,7 @@ void test(const string& lhss, const string& op, const string& rhss, const string
|
||||
<< " = " << expnum << endl
|
||||
<< " =? " << gotnum << endl);
|
||||
|
||||
V3Number ok(fl, 1);
|
||||
V3Number ok{fl, 1};
|
||||
ok.opCaseEq(expnum, gotnum);
|
||||
if (ok.toUInt() != 1) v3fatalSrc("%Error:Test FAILED");
|
||||
|
||||
@@ -137,7 +137,7 @@ int main() {
|
||||
test("99'h7FFFFFFFFFFFFFFFFFFFFFFFF", "*", "99'h0000000000000000091338A80",
|
||||
"99'h7FFFFFFFFFFFFFFFF6ECC7580");
|
||||
|
||||
cout << "Test completed\n";
|
||||
std::cout << "Test completed\n";
|
||||
}
|
||||
|
||||
//###################################################################
|
||||
|
||||
Reference in New Issue
Block a user