Just issue errors if both "signed" and "unsigned" are specified, or if "signed" is applied to a non-int type.
6 lines
98 B
Plaintext
6 lines
98 B
Plaintext
// "signed" qualifier is illegal with non-integer type "float"
|
|
|
|
int foo() {
|
|
signed float x;
|
|
}
|