Just issue errors if both "signed" and "unsigned" are specified, or if "signed" is applied to a non-int type.
8 lines
112 B
Plaintext
8 lines
112 B
Plaintext
// "unsigned" qualifier is illegal with "uniform struct Foo" typ
|
|
|
|
struct Foo {
|
|
float x;
|
|
};
|
|
|
|
unsigned Foo f;
|