October 29, 2005 compiler segfault: typesafe variadic arguments | ||||
---|---|---|---|---|
| ||||
Attachments: | segfaults: # void test(int dummy, int pos ...){ # } # # test(new int[1, 2]); doesn't segfault: # void test(int pos ...){ # } # # test(new int[1, 2]); xpass: # # auto x = new int[1.1, 2]; # Added to DStress as http://dstress.kuehne.cn/nocompile/v/variadic_argument_09_A.d http://dstress.kuehne.cn/nocompile/v/variadic_argument_09_B.d http://dstress.kuehne.cn/nocompile/n/new_26_A.d http://dstress.kuehne.cn/nocompile/n/new_26_B.d http://dstress.kuehne.cn/nocompile/n/new_26_C.d Thomas |
Copyright © 1999-2021 by the D Language Foundation