Fix spaceship preproc tests for previous change
This commit is contained in:
parent
100d4d5350
commit
346ede21c3
4 changed files with 13 additions and 3 deletions
6
Examples/test-suite/errors/cpp_pp_expressions_bad.i
Normal file
6
Examples/test-suite/errors/cpp_pp_expressions_bad.i
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue