mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
10 lines
149 B
D
10 lines
149 B
D
struct S1(T...) {
|
|
auto fun() {
|
|
static assert(__traits(compiles, &T[0]));
|
|
}
|
|
}
|
|
|
|
struct S2 {
|
|
void gun() {}
|
|
S1!gun overloaded;
|
|
}
|