Just issue errors if both "signed" and "unsigned" are specified, or if "signed" is applied to a non-int type.
6 lines
91 B
Plaintext
6 lines
91 B
Plaintext
// Can't apply "unsigned" qualifier to "float" type
|
|
|
|
struct Foo {
|
|
unsigned float x;
|
|
};
|