mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-24 16:51:06 +00:00
Negative test for AccessQualifier.
This commit is contained in:
parent
212ba355a6
commit
10fa49cd4b
@ -163,6 +163,11 @@ INSTANTIATE_TEST_CASE_P(
|
||||
#undef CASE
|
||||
// clang-format on
|
||||
|
||||
TEST_F(OpTypePipeTest, WrongAccessQualifier) {
|
||||
EXPECT_THAT(CompileFailure("%1 = OpTypePipe xxyyzz"),
|
||||
Eq("Invalid access qualifier 'xxyyzz'."));
|
||||
}
|
||||
|
||||
using OpTypeForwardPointerTest = spvtest::TextToBinaryTest;
|
||||
|
||||
#define CASE(storage_class) \
|
||||
|
Loading…
Reference in New Issue
Block a user