| author | |
| committer | |
| log | 17093e1dd89497b76c97a83917f0d7e4513f7f88 |
| tree | 4bc48a8b9f0d31aa2a144126d68fe8d85ddbdc65 |
| parent | a608ecd335df46b7d13dfaef3372b1120b774921 |
2 files changed, 73 insertions(+), 0 deletions(-)
test/standalone/config_header/autoconf_at/autoconf_at.txt created+37| ... | ... | @@ -0,0 +1,37 @@ |
| 1 | /* This file was generated by ConfigHeader using the Zig Build System. */ | |
| 2 | // empty strings are preserved | |
| 3 | ||
| 4 | // line with misc content is preserved | |
| 5 | no substitution | |
| 6 | // empty @ sigils are preserved | |
| 7 | @ | |
| 8 | @@ | |
| 9 | @@@ | |
| 10 | @@@@ | |
| 11 | // simple substitution | |
| 12 | ||
| 13 | ||
| 14 | 1 | |
| 15 | 0 | |
| 16 | 42 | |
| 17 | text | |
| 18 | // double packed substitution | |
| 19 | texttext | |
| 20 | // triple packed substitution | |
| 21 | text42text | |
| 22 | // double separated substitution | |
| 23 | 42.42 | |
| 24 | // triple separated substitution | |
| 25 | 42.1.42 | |
| 26 | // misc prefix is preserved | |
| 27 | false is 0 | |
| 28 | // misc suffix is preserved | |
| 29 | 1 is true | |
| 30 | // surrounding content is preserved | |
| 31 | what is 6*7? 42! | |
| 32 | // incomplete key is preserved | |
| 33 | @undefined | |
| 34 | // @-vars resolved only when they wrap valid characters, otherwise considered literals | |
| 35 | @text@ | |
| 36 | // expanded variables are considered strings after expansion | |
| 37 | @string@ |
test/standalone/config_header/autoconf_at/autoconf_at.txt.in created+36| ... | ... | @@ -0,0 +1,36 @@ |
| 1 | // empty strings are preserved | |
| 2 | ||
| 3 | // line with misc content is preserved | |
| 4 | no substitution | |
| 5 | // empty @ sigils are preserved | |
| 6 | @ | |
| 7 | @@ | |
| 8 | @@@ | |
| 9 | @@@@ | |
| 10 | // simple substitution | |
| 11 | @undefined@ | |
| 12 | @defined@ | |
| 13 | @boolean_true@ | |
| 14 | @boolean_false@ | |
| 15 | @integer@ | |
| 16 | @string@ | |
| 17 | // double packed substitution | |
| 18 | @string@@string@ | |
| 19 | // triple packed substitution | |
| 20 | @string@@integer@@string@ | |
| 21 | // double separated substitution | |
| 22 | @integer@.@integer@ | |
| 23 | // triple separated substitution | |
| 24 | @integer@.@boolean_true@.@integer@ | |
| 25 | // misc prefix is preserved | |
| 26 | false is @boolean_false@ | |
| 27 | // misc suffix is preserved | |
| 28 | @boolean_true@ is true | |
| 29 | // surrounding content is preserved | |
| 30 | what is 6*7? @integer@! | |
| 31 | // incomplete key is preserved | |
| 32 | @undefined | |
| 33 | // @-vars resolved only when they wrap valid characters, otherwise considered literals | |
| 34 | @@string@@ | |
| 35 | // expanded variables are considered strings after expansion | |
| 36 | @string_at@ |