dlangide/workspaces/sample1/sampleproject1/source/main.d
Vadim Lopatin 008e7e742f libdparser
2015-02-20 16:20:11 +03:00

29 lines
462 B
D

// Computes average line length for standard input.
//changed
class foo(T) {
private:
static if (1) {
int n() {
T b;
return 25;
}
}
string n;
}
struct bar(X: foo) {
int n() { return 13; }
debug long n;
void func(T)(T param) {
T a = param;
}
}
void main(string[] args)
{
int n;
foo fooinst = new foo();
n = 19 + foo.n;
args[0] = "asd";
}