mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
271 B
D
16 lines
271 B
D
// REQUIRED_ARGS: -o-
|
|
// PERMUTE_ARGS:
|
|
|
|
struct Vector(T, int N)
|
|
{
|
|
void opDispatch(string, U)(U)
|
|
{
|
|
}
|
|
|
|
void baz(string, U)(U)
|
|
{
|
|
}
|
|
}
|
|
|
|
static assert(!is(typeof(Vector!(int, 2)._isMatrix)));
|
|
static assert(!is(typeof(Vector!(int, 2).baz!"_isMatrix")));
|