summaryrefslogtreecommitdiff
path: root/tests/testdata/compile/check_local_by_default2.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/compile/check_local_by_default2.ts')
-rw-r--r--tests/testdata/compile/check_local_by_default2.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/compile/check_local_by_default2.ts b/tests/testdata/compile/check_local_by_default2.ts
new file mode 100644
index 000000000..5177ff944
--- /dev/null
+++ b/tests/testdata/compile/check_local_by_default2.ts
@@ -0,0 +1,6 @@
+import * as a from "http://localhost:4545/subdir/type_error.ts";
+
+const b: "b" = 12;
+
+console.log(a.a);
+console.log(b);