| Index: mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| diff --git a/mojo/public/interfaces/bindings/tests/test_structs.mojom b/mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| index 40fa9a6bc74616ffa13a6e42368ff77126572e25..490a587c5c2c1786e2c63096f99957360ab8db2a 100644
|
| --- a/mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| +++ b/mojo/public/interfaces/bindings/tests/test_structs.mojom
|
| @@ -183,7 +183,10 @@ struct IntegerNumberValues {
|
| const int16 V8 = 12345;
|
| const int16 V9 = 32767;
|
|
|
| - const int32 V10 = -2147483648;
|
| + // MSVC can't parse -2147483648 so V10 is intentionally off by one.
|
| + // See http://msdn.microsoft.com/en-us/library/4kh09110.aspx
|
| + // Tests may override V10.
|
| + const int32 V10 = -2147483647;
|
| const int32 V11 = -1;
|
| const int32 V12 = 0;
|
| const int32 V13 = 1234567890;
|
|
|