blob: 907bb3b8edf3ce73b75d2355494eb7e90d89345b [file] [log] [blame]
static assert( Foo(10).bar.value == 10 );
extern(C++, "ns") {
struct Foo {
Bar!Foo bar;
this( int v ) {
bar.value = v;
}
}
}
extern(C++, "ns") {
struct Bar(T) {
int value;
}
}