Commit 3b718b7a authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

T10518: Ensure literal has 64-bit type

Otherwise we get a C-- lint error due to mismatched RHS and
variable types.
parent 18f1e265
foo() {
bits64 a;
a = 0x10000000000000000; // overflows 64 bits
a = (0x10000000000000000 :: bits64); // overflows 64 bits
return (a);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment