Bugzilla – Attachment 1 Details for
Bug 6
ARM: Illegal instruction in runnable/aliasthis.d and with -O2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug creation and email sending has been disabled, file new bugs at
gcc.gnu.org/bugzilla
Reduced test case
aliasthis.d (text/x-dsrc), 334 bytes, created by
Johannes Pfau
on 2012-09-24 16:24:14 CEST
(
hide
)
Description:
Reduced test case
Filename:
MIME Type:
Creator:
Johannes Pfau
Created:
2012-09-24 16:24:14 CEST
Size:
334 bytes
patch
obsolete
>struct Tup(T...) >{ > T field; > alias field this; > > bool opEquals(Tup ) > { > return false; > } >} > >Tup!T tup(T...)(T ) >{ > return typeof(return)(); >} > >void main() >{ > int eval; > foreach (i, e; tup(eval++, tup(3.14, tup("str", tup([1]))))) > static if (i == 1) assert(e == tup(3.14, tup("str", tup([1])))); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6
: 1 |
2
|
3