https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101672
Bug ID: 101672 Summary: d: Allow use of classes without the runtime if they only contain static members Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- This should compile, but may not link and run properly without a thread-local storage implementation. --- interface I { static int i; } class A : I { static int a; } class B : A { static int b; } void main() { B.i = 32; B.a = 42; B.b = 52; }