mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
8 lines
135 B
D
8 lines
135 B
D
struct Object{}
|
|
class Game {}
|
|
|
|
void main()
|
|
{
|
|
static assert(is(Object == struct));
|
|
static assert(is(object.Object == class));
|
|
}
|