You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
289 B

template Foo(T, U)
{
class Bar { }
T foo(T t, U u) { }
T abc;
typedef T* FooType;
typedef Tte** FooType0;
typedef int* FooType1;
typedef const char FooType2;
}
alias Foo!(int, char) f;
f.Bar b;
f.foo(1,2);
f.abc = 3;
to!string(10.0);
TFoo!int.t x;
class Abc(T)
{
T t;
}