mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
Move dmd files into compiler/
This commit is contained in:
parent
20bd0cacbd
commit
6374bb87b7
4579 changed files with 4 additions and 4 deletions
25
compiler/test/compilable/nestedtempl1.d
Normal file
25
compiler/test/compilable/nestedtempl1.d
Normal file
|
@ -0,0 +1,25 @@
|
|||
class K
|
||||
{
|
||||
class B(alias a)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
class D(alias a) : B!a
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
class E(alias a) : B!1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
int a;
|
||||
auto k = new K;
|
||||
auto d = k.new K.D!a;
|
||||
auto e = k.new K.E!a;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue