Mercurial > projects > ldc
annotate tests/mini/emptytuple.d @ 1002:c749648ed2b8
Fix cfloat return on x86_64: only perform ABI transformation for non-extern(D)
functions.
There's no need to waste cycles with extern(D), which we get to define
ourselves. Fixes tests/mini/asm8.d. (Since the asm abiret code already assumed
{xmm0, xmm1} returns)
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 26 Feb 2009 23:35:39 +0100 |
parents | e739ef5dfff0 |
children |
rev | line source |
---|---|
513
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
1 template T(B...) { |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
2 typedef B TArgs; |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
3 } |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
4 |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
5 int main(){ |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
6 alias T!() instantiate; |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
7 return 0; |
ce57106d2619
Add minitest for broken empty template tuple parameters. Fix this one!
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
8 } |