#include "gmock/gmock.h"
#include "src/tint/lang/core/type/reference.h"
#include "src/tint/lang/core/type/texture_dimension.h"
#include "src/tint/lang/wgsl/resolver/resolver.h"
#include "src/tint/lang/wgsl/resolver/resolver_helper_test.h"
namespace tint::resolver {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
struct ResolverPtrRefValidationTest : public resolver::TestHelper, public testing::Test { … };
TEST_F(ResolverPtrRefValidationTest, AddressOfLiteral) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfLet) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfConst) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfOverride) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfParameter) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfHandle) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfFunction) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfBuiltinFunction) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfType) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfTypeAlias) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfAccess) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfAddressSpace) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfUnresolvedValue) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfTexelFormat) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfVectorComponent_MemberAccessor) { … }
TEST_F(ResolverPtrRefValidationTest, AddressOfVectorComponent_IndexAccessor) { … }
TEST_F(ResolverPtrRefValidationTest, IndirectOfAddressOfHandle) { … }
TEST_F(ResolverPtrRefValidationTest, DerefOfLiteral) { … }
TEST_F(ResolverPtrRefValidationTest, DerefOfVar) { … }
TEST_F(ResolverPtrRefValidationTest, InferredPtrAccessMismatch) { … }
}
}