add a new test
This commit is contained in:
parent
08045dfd31
commit
ba3805d6f2
1 changed files with 17 additions and 0 deletions
17
tests/cases/compiler/commonSourceDir6.ts
Normal file
17
tests/cases/compiler/commonSourceDir6.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
// @outFile: concat.js
|
||||
// @outDir: a
|
||||
// @module: amd
|
||||
// @Filename: a/bar.ts
|
||||
import {z} from "./foo";
|
||||
export var x = z + z;
|
||||
|
||||
// @Filename: a/foo.ts
|
||||
import {pi} from "../baz";
|
||||
export var i = Math.sqrt(-1);
|
||||
export var z = pi * pi;
|
||||
|
||||
// @Filename: baz.ts
|
||||
import {x} from "a/bar";
|
||||
import {i} from "a/foo";
|
||||
export var pi = Math.PI;
|
||||
export var y = x * i;
|
Loading…
Reference in a new issue