diff --git a/test cases/failing/79 non ascii in ascii encoded configure file/config9.h.in b/test cases/failing/79 non ascii in ascii encoded configure file/config9.h.in new file mode 100644 index 000000000..323bec64a --- /dev/null +++ b/test cases/failing/79 non ascii in ascii encoded configure file/config9.h.in @@ -0,0 +1 @@ +#define MESSAGE "@var@" diff --git a/test cases/failing/79 non ascii in ascii encoded configure file/meson.build b/test cases/failing/79 non ascii in ascii encoded configure file/meson.build new file mode 100644 index 000000000..846daaf89 --- /dev/null +++ b/test cases/failing/79 non ascii in ascii encoded configure file/meson.build @@ -0,0 +1,10 @@ +project('non acsii to ascii encoding', 'c') +# Writing a non ASCII character with a ASCII encoding should fail +conf9 = configuration_data() +conf9.set('var', 'ะด') +configure_file( + input : 'config9.h.in', + output : '@BASENAME@', + encoding : 'ascii', + configuration : conf9 +)