aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorAleksey Filippov <alekseyf@google.com>2018-04-25 23:02:21 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2018-05-24 22:19:22 +0300
commit5f5360470f386bbb669c1cf7b4f4c86d14e89345 (patch)
tree41db9d2793f87162de6f9564637b7830385affb9 /test cases
parent1ffbddc31ab342e9f3fcdb40184f76f5799b8c28 (diff)
downloadmeson-5f5360470f386bbb669c1cf7b4f4c86d14e89345.zip
meson-5f5360470f386bbb669c1cf7b4f4c86d14e89345.tar.gz
meson-5f5360470f386bbb669c1cf7b4f4c86d14e89345.tar.bz2
Clarify that configuration_data()'s copy is immutable
Diffstat (limited to 'test cases')
-rw-r--r--test cases/failing/75 configuration immutable/input0
-rw-r--r--test cases/failing/75 configuration immutable/meson.build12
2 files changed, 12 insertions, 0 deletions
diff --git a/test cases/failing/75 configuration immutable/input b/test cases/failing/75 configuration immutable/input
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/failing/75 configuration immutable/input
diff --git a/test cases/failing/75 configuration immutable/meson.build b/test cases/failing/75 configuration immutable/meson.build
new file mode 100644
index 0000000..b6cac41
--- /dev/null
+++ b/test cases/failing/75 configuration immutable/meson.build
@@ -0,0 +1,12 @@
+project('configuration_data is immutable')
+
+a = configuration_data()
+
+configure_file(
+ configuration : a,
+ input : 'input',
+ output : 'output',
+)
+
+still_immutable = a
+still_immutable.set('hello', 'world')