| author | |
| committer | |
| log | 9dfbdeace6fd6fbeaea38bd48757f0ca0aee09a9 |
| tree | 9c4790a26c3e9a81223a8b11ada820fc9db91710 |
| parent | 4c78142af1259adc79ad3e803a58f1d48d8e633d |
1 files changed, 4 insertions(+), 0 deletions(-)
test/cases/import.zig+4| ... | @@ -4,3 +4,7 @@ const a_namespace = @import("import/a_namespace.zig"); | ... | @@ -4,3 +4,7 @@ const a_namespace = @import("import/a_namespace.zig"); |
| 4 | test "call fn via namespace lookup" { | 4 | test "call fn via namespace lookup" { |
| 5 | assert(a_namespace.foo() == 1234); | 5 | assert(a_namespace.foo() == 1234); |
| 6 | } | 6 | } |
| 7 | |||
| 8 | test "importing the same thing gives the same import" { | ||
| 9 | assert(@import("std") == @import("std")); | ||
| 10 | } |