Bug 529 – segfault when passing .tupleof to variadic template

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-11-16T08:05:00Z
Last change time
2014-02-15T13:19:04Z
Assigned to
bugzilla
Creator
clugdbug

Comments

Comment #0 by clugdbug — 2006-11-16T08:05:40Z
struct S { int x; long y; } template T(Q...) { const int T = 1; } void main() { const int a = T!((S.tupleof)); }
Comment #1 by clugdbug — 2007-01-03T05:50:20Z
No longer segfaults in D1.0.