mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
372 B
13 lines
372 B
import { a } from './foo';
|
|
|
|
// This variable declaration is going to be altered because `b` needs to be
|
|
// re-written. We need to make sure that the `a` re-writing and the unaffected
|
|
// `c` declarator are not being clobbered by that alteration.
|
|
var a_ = a, b = 9, c = 'c';
|
|
|
|
assert.equal(a, 1);
|
|
assert.equal(a_, 1);
|
|
assert.equal(b, 9);
|
|
assert.equal(c, 'c');
|
|
|
|
export { b };
|
|
|