File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,13 @@ template<>
125
125
struct IsSupportedPass2 <unsigned long >
126
126
{ static const bool value = true ; };
127
127
128
+ template <>
129
+ struct IsSupportedPass2 <long long >
130
+ { static const bool value = true ; };
131
+
132
+ template <>
133
+ struct IsSupportedPass2 <unsigned long long >
134
+ { static const bool value = true ; };
128
135
129
136
/*
130
137
* Step 2: some integer-traits kind of stuff.
Original file line number Diff line number Diff line change @@ -423,6 +423,8 @@ void test()
423
423
typedef unsigned short unsignedShort;
424
424
typedef unsigned int unsignedInt;
425
425
typedef unsigned long unsignedLong;
426
+ typedef long long longLong;
427
+ typedef unsigned long long unsignedLongLong;
426
428
427
429
VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (char )
428
430
VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (signedChar)
@@ -433,6 +435,8 @@ void test()
433
435
VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (unsignedInt)
434
436
VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (long )
435
437
VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (unsignedLong)
438
+ VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (longLong)
439
+ VERIFY_CONSTRUCTION_FROM_INTEGER_TYPE (unsignedLongLong)
436
440
437
441
/* Test increment/decrement operators */
438
442
@@ -485,6 +489,8 @@ int main()
485
489
test<unsigned int >();
486
490
test<long >();
487
491
test<unsigned long >();
492
+ test<long long >();
493
+ test<unsigned long long >();
488
494
489
495
const int MIN_TYPES_TESTED = 9 ;
490
496
if (gIntegerTypesTested < MIN_TYPES_TESTED) {
You can’t perform that action at this time.
0 commit comments