http://bugzilla.gdcproject.org/show_bug.cgi?id=136
Bug ID: 136
Summary: Struct hidden context pointers
Product: GDC
Version: development
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: [email protected]
Reporter: [email protected]
Keeping a record of this:
http://forum.dlang.org/thread/[email protected]
---
// Function to test if T is independently instantiable.
void f(T)() {
T t;
}
void main() {
int a = 42;
struct S {
int y;
bool f() { return (a == 42); }
}
f!S();
}
---
--
You are receiving this mail because:
You are watching all bug changes.