summaryrefslogtreecommitdiffstats
path: root/tests/rust/cfg_2.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/cfg_2.toml')
-rw-r--r--tests/rust/cfg_2.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rust/cfg_2.toml b/tests/rust/cfg_2.toml
new file mode 100644
index 0000000..4672d03
--- /dev/null
+++ b/tests/rust/cfg_2.toml
@@ -0,0 +1,11 @@
+header = """
+#if 0
+DEF DEFINED = 1
+DEF NOT_DEFINED = 0
+#endif
+"""
+
+[defines]
+"unix" = "DEFINED"
+"macos" = "NOT_DEFINED"
+"windows" = "NOT_DEFINED"