Parse and then mostly ignore "signed" qualifier.
Just issue errors if both "signed" and "unsigned" are specified, or if "signed" is applied to a non-int type.
This commit is contained in:
7
tests_errors/unsigned-struct.ispc
Normal file
7
tests_errors/unsigned-struct.ispc
Normal file
@@ -0,0 +1,7 @@
|
||||
// "unsigned" qualifier is illegal with "uniform struct Foo" typ
|
||||
|
||||
struct Foo {
|
||||
float x;
|
||||
};
|
||||
|
||||
unsigned Foo f;
|
||||
Reference in New Issue
Block a user