Fix spaceship preproc tests for previous change

This commit is contained in:
Olly Betts 2022-07-27 18:17:31 +12:00
commit 346ede21c3
4 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,6 @@
%module xxx
/* Note: needs -Wextra to see these warnings */
/* Spaceship operator doesn't seem to be allowed in preprocessor expressions. */
#if (4 <=> 2) < 0
#endif