#include "src/tint/lang/core/type/reference.h"
#include "src/tint/lang/wgsl/resolver/resolver.h"
#include "src/tint/lang/wgsl/resolver/resolver_helper_test.h"
#include "src/tint/lang/wgsl/sem/load.h"
#include "gmock/gmock.h"
namespace tint::resolver {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
struct ResolverPtrRefTest : public resolver::TestHelper, public testing::Test { … };
TEST_F(ResolverPtrRefTest, AddressOf) { … }
TEST_F(ResolverPtrRefTest, AddressOfThenDeref) { … }
TEST_F(ResolverPtrRefTest, DefaultPtrAddressSpace) { … }
TEST_F(ResolverPtrRefTest, ArrayIndexAccessorViaDerefPointer) { … }
TEST_F(ResolverPtrRefTest, ArrayIndexAccessorViaPointer) { … }
TEST_F(ResolverPtrRefTest, ArrayIndexAccessorViaPointer_FeatureDisallowed) { … }
TEST_F(ResolverPtrRefTest, VectorIndexAccessorViaDerefPointer) { … }
TEST_F(ResolverPtrRefTest, VectorIndexAccessorViaPointer) { … }
TEST_F(ResolverPtrRefTest, VectorIndexAccessorViaPointer_FeatureDisallowed) { … }
TEST_F(ResolverPtrRefTest, VectorMemberAccessorViaDerefPointer) { … }
TEST_F(ResolverPtrRefTest, VectorMemberAccessorViaPointer) { … }
TEST_F(ResolverPtrRefTest, VectorMemberAccessorViaPointer_FeatureDisallowed) { … }
TEST_F(ResolverPtrRefTest, MatrixIndexAccessorViaDerefPointer) { … }
TEST_F(ResolverPtrRefTest, MatrixIndexAccessorViaPointer) { … }
TEST_F(ResolverPtrRefTest, MatrixIndexAccessorViaPointer_FeatureDisallowed) { … }
TEST_F(ResolverPtrRefTest, StructMemberAccessorViaDerefPointer) { … }
TEST_F(ResolverPtrRefTest, StructMemberAccessorViaPointer) { … }
TEST_F(ResolverPtrRefTest, StructMemberAccessorViaPointer_FeatureDisallowed) { … }
}
}