diff options
Diffstat (limited to 'tests/front-end')
| -rw-r--r-- | tests/front-end/import-subdir-search-path-repro.slang | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/front-end/import-subdir-search-path-repro.slang b/tests/front-end/import-subdir-search-path-repro.slang new file mode 100644 index 000000000..2978933fa --- /dev/null +++ b/tests/front-end/import-subdir-search-path-repro.slang @@ -0,0 +1,12 @@ +//DISABLE_TEST:SIMPLE: -Itests/front-end/subdir -dump-repro import-subdir-search-path-repro.slang-repro +//DISABLE_TEST:SIMPLE_EX: -extract-repro import-subdir-search-path-repro.slang-repro +//DISABLE_TEST:SIMPLE: -load-repro import-subdir-search-path-repro.slang-repro + +// Confirming import lookup via search paths work + +__import import_subdir_a; + +// Should realize it's the same thing +__import subdir.import_subdir_a; + +float bar(float x) { return foo(x); }
\ No newline at end of file |
