diff options
Diffstat (limited to 'test/compress/global_defs.js')
-rw-r--r-- | test/compress/global_defs.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/compress/global_defs.js b/test/compress/global_defs.js index f1ef81d9..006be292 100644 --- a/test/compress/global_defs.js +++ b/test/compress/global_defs.js @@ -12,6 +12,20 @@ must_replace: { } } +repeated_nodes: { + options = { + global_defs: { + "@N": "rand()", + }, + } + input: { + console.log(N, N); + } + expect: { + console.log(rand(), rand()); + } +} + keyword: { options = { global_defs: { |