blob: aed1688adeea0b36d1dfabd4875b2e7d868a650e [file] [log] [blame]
// REQUIRED_ARGS: -unittest
module issue19925;
unittest {
with (S) {
a(); // Compiles!
b(); // Fails!
}
}
struct S {
static void a() {}
static void opDispatch(string name)() {}
}