Skip to content

Commit

Permalink
abi tests: remove 'char' in the PRINT_CONSTANT macro
Browse files Browse the repository at this point in the history
We explicitely handle signed and unsigned, and some compilers (MSVC)
do not like duplicate types.
  • Loading branch information
pbor committed Feb 10, 2021
1 parent 92a8bb1 commit 7b0ff6d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/codegen/sys/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ fn generate_constant_c(
_Generic((CONSTANT_NAME), \
char *: "%s", \
const char *: "%s", \
char: "%c", \
signed char: "%hhd", \
unsigned char: "%hhu", \
short int: "%hd", \
Expand Down

0 comments on commit 7b0ff6d

Please sign in to comment.