summaryrefslogtreecommitdiff
path: root/Examples/test-suite/d/typemap_namespace_runme.1.d
blob: 3a5ca1a9f2aef8eab05243ed0d155572b6bb3706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module typemap_namespace_runme;

import typemap_namespace.typemap_namespace;

void main() {
  if (test1("hello") != "hello") {
    throw new Exception("test1 failed");
  }

  if (test2("hello") != "hello") {
    throw new Exception("test2 failed");
  }
}