diff --git a/test/runnable/interpret.d b/test/runnable/interpret.d index d7942bdf1966..3b50e37b0d76 100644 --- a/test/runnable/interpret.d +++ b/test/runnable/interpret.d @@ -3082,6 +3082,19 @@ void test9954() assert(b9954.foo() == "hello"); } +/************************************************/ +struct S10669 { uint x; } + +static const S10669 iid0_10669 = S10669(0); + +class C10669 +{ + static const S10669 iid1_10669 = S10669(1); +}; + +const S10669 IID0_10669 = iid0_10669; +const S10669 IID1_10669 = C10669.iid1_10669; + /************************************************/ TypeInfo getTi()