Skip to content

Commit

Permalink
abi tests: from 'char' from the _Generic in PRINT_CONSTANT
Browse files Browse the repository at this point in the history
We already have signed and unsigned char, so char is a duplicate
and fails on MSVC
  • Loading branch information
pbor committed Feb 10, 2021
1 parent 7b0ff6d commit fc9de62
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 @@ -275,7 +275,6 @@ fn generate_constant_c(
#define FORMAT_CONSTANT(CONSTANT_NAME) \
_Generic((CONSTANT_NAME), \
char *: "%s", \
const char *: "%s", \
signed char: "%hhd", \
unsigned char: "%hhu", \
short int: "%hd", \
Expand Down

0 comments on commit fc9de62

Please sign in to comment.