1 // PERMUTE_ARGS: -unittest -O -release -inline -fPIC -g
2 // EXTRA_SOURCES: imports/test3a.d imports/test3b.d
6 extern(C
) int printf(const char*, ...);
14 printf("in Foo.unittest()\n");
28 int main(string
[] args
)
35 a
.bar
= baz
~ "betty";
37 printf("a.bar = '%.*s'\n", cast(int)a
.bar
.length
, a
.bar
.ptr
);
38 assert(a
.bar
== "lolobetty");