Mercurial > projects > dstress
view run/p/pragma_msg_01_B.d @ 1364:8862d9e3bd3c
[Issue 998] Crash in compile-time functions with pragma(msg,...)
Tyler Knott <tknott@gmail.com>
2007-02-22
http://d.puremagic.com/issues/show_bug.cgi?id=998
author | thomask |
---|---|
date | Mon, 26 Feb 2007 11:30:43 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Tyler Knott <tknott@gmail.com> // @date@ 2007-02-22 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=998 // @desc@ [Issue 998] Crash in compile-time functions with pragma(msg,...) module dstress.run.p.pragma_msg_01_B; int test(){ pragma(msg, "Crash!"); return 2; } int main(){ static x = test(); return 0; }