projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212ba35
)
Negative test for AccessQualifier.
author
Dejan Mircevski
<deki@google.com>
Tue, 13 Oct 2015 19:25:31 +0000
(15:25 -0400)
committer
David Neto
<dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000
(12:55 -0400)
test/TextToBinary.TypeDeclaration.cpp
patch
|
blob
|
history
diff --git
a/test/TextToBinary.TypeDeclaration.cpp
b/test/TextToBinary.TypeDeclaration.cpp
index
1fbfb15
..
d478660
100644
(file)
--- a/
test/TextToBinary.TypeDeclaration.cpp
+++ b/
test/TextToBinary.TypeDeclaration.cpp
@@
-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) \