Mercurial > projects > ldc
view tests/mini/norun_debug4.d @ 1615:3da302cc4966
Merge DMD r294: bugzilla 2816 Sudden-death static assert is not...
bugzilla 2816 Sudden-death static assert is not very useful.
---
dmd/expression.h | 12 ++++++
dmd/staticassert.c | 10 +---
dmd/template.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++----
dmd/template.h | 2 +
4 files changed, 117 insertions(+), 15 deletions(-)
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 15:18:21 -0300 |
parents | 925779c19395 |
children |
line wrap: on
line source
module mini.norun_debug4; void main() { char c = 'c'; wchar wc = 'w'; dchar dc = 'd'; int* fail = cast(int*) 1; *fail = 32; }