Just issue errors if both "signed" and "unsigned" are specified, or if "signed" is applied to a non-int type.
6 lines
109 B
Plaintext
6 lines
109 B
Plaintext
// Error: Illegal to apply both "signed" and "unsigned" qualifiers
|
|
|
|
int foo() {
|
|
signed unsigned int x;
|
|
}
|