@@ -56,9 +56,9 @@ TEST(AllocatableCUFTest, SimpleDeviceAllocate) {
56
56
ScopedContext ctx;
57
57
// REAL(4), DEVICE, ALLOCATABLE :: a(:)
58
58
auto a{createAllocatable (TypeCategory::Real, 4 )};
59
- a->raw (). SetAllocIdx (kDeviceAllocatorPos );
60
- EXPECT_EQ ((int )kDeviceAllocatorPos , a->raw (). GetAllocIdx ());
61
- EXPECT_FALSE (a->raw (). HasAddendum ());
59
+ a->SetAllocIdx (kDeviceAllocatorPos );
60
+ EXPECT_EQ ((int )kDeviceAllocatorPos , a->GetAllocIdx ());
61
+ EXPECT_FALSE (a->HasAddendum ());
62
62
RTNAME (AllocatableSetBounds)(*a, 0 , 1 , 10 );
63
63
RTNAME (AllocatableAllocate)
64
64
(*a, /* hasStat=*/ false , /* errMsg=*/ nullptr , __FILE__, __LINE__);
@@ -74,10 +74,10 @@ TEST(AllocatableCUFTest, SimplePinnedAllocate) {
74
74
ScopedContext ctx;
75
75
// INTEGER(4), PINNED, ALLOCATABLE :: a(:)
76
76
auto a{createAllocatable (TypeCategory::Integer, 4 )};
77
- EXPECT_FALSE (a->raw (). HasAddendum ());
78
- a->raw (). SetAllocIdx (kPinnedAllocatorPos );
79
- EXPECT_EQ ((int )kPinnedAllocatorPos , a->raw (). GetAllocIdx ());
80
- EXPECT_FALSE (a->raw (). HasAddendum ());
77
+ EXPECT_FALSE (a->HasAddendum ());
78
+ a->SetAllocIdx (kPinnedAllocatorPos );
79
+ EXPECT_EQ ((int )kPinnedAllocatorPos , a->GetAllocIdx ());
80
+ EXPECT_FALSE (a->HasAddendum ());
81
81
RTNAME (AllocatableSetBounds)(*a, 0 , 1 , 10 );
82
82
RTNAME (AllocatableAllocate)
83
83
(*a, /* hasStat=*/ false , /* errMsg=*/ nullptr , __FILE__, __LINE__);
0 commit comments