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