configure_file: test writing non ascii with ascii encoding keyword

pull/3726/head
Sander Sweers 7 years ago committed by Nirbheek Chauhan
parent 38fa281448
commit 461cf0cba1
  1. 1
      test cases/failing/79 non ascii in ascii encoded configure file/config9.h.in
  2. 10
      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
)
Loading…
Cancel
Save