digitalmars.D.bugs - String assignment bug
- Nick <Nick_member pathlink.com> Jun 24 2005
Hi, compile the following with the -O flag:
# void main()
# {
# char[4] a, b;
# a[] = 'a'; b[] = 'a'; // These work
#
# a[] = b[] = 'a'; // Segmentation fault
# }
It works ok for ints, strange enough. Using 0.127 on linux.
Nick
Jun 24 2005








Nick <Nick_member pathlink.com>