NetBSD/usr.bin/make/unit-tests/varname-empty.exp
rillig 7d6be9ffc4 make(1): try to set the variable named "" using the command line
Before 2020-08-22, the command line argument '=cmline-plain' triggered
undefined behavior, just like the assignment '=assigned' in the Makefile.
2020-08-22 21:22:24 +00:00

12 lines
585 B
Plaintext

Var_Set("${:U}", "cmdline-u", ...) name expands to empty string - ignored
Var_Set("", "cmline-plain", ...) name expands to empty string - ignored
Var_Set("", "default", ...) name expands to empty string - ignored
Var_Set("", "assigned", ...) name expands to empty string - ignored
Var_Set("", "appended", ...) name expands to empty string - ignored
Var_Set("", "", ...) name expands to empty string - ignored
Var_Set("", "subst", ...) name expands to empty string - ignored
Var_Set("", "shell-output", ...) name expands to empty string - ignored
out: fallback
out: 1 2 3
exit status 0