mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-24 00:40:14 +00:00
Negative test for LinkageType.
This commit is contained in:
parent
d7b0f83bd1
commit
9d0c813547
@ -311,6 +311,11 @@ INSTANTIATE_TEST_CASE_P(TextToBinaryDecorateLinkage, OpDecorateLinkageTest,
|
||||
#undef CASE
|
||||
// clang-format on
|
||||
|
||||
TEST_F(OpDecorateLinkageTest, WrongType) {
|
||||
EXPECT_THAT(CompileFailure("OpDecorate %1 LinkageAttributes \"foo\" xxyyzz"),
|
||||
Eq("Invalid linkage type 'xxyyzz'."));
|
||||
}
|
||||
|
||||
// Test OpGroupMemberDecorate
|
||||
|
||||
TEST_F(TextToBinaryTest, GroupMemberDecorateGoodOneTarget) {
|
||||
|
Loading…
Reference in New Issue
Block a user