Mercurial > projects > dstress
view run/l/large_id_02_B.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | 36bedfa079e6 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Christian Kamm <kamm@incasoftware.de> // @date@ 2006-01-09 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=825 // @desc@ [Issue 825] dmd segmentation fault with large char[] template value parameter // the id is an extraction from slang-1.4.9-r1/slang.txt module dstress.run.l.large_id_02_B; void bug(string msg)(){ if(441 != msg.length){ assert(0); } } int main(){ bug!("AGuidetotheSLangLanguageJohnEDavisdavisspacemiteduMar232003TableofContentsPreface1ABriefHistoryofSLang2Acknowledgements2Introduction3LanguageFeatures4DataTypesandOperators5StatementsandFunctions6ErrorHandling7RunTimeLibrary8InputOutput9ObtainingSLang9OverviewoftheLanguage10VariablesandFunctions11Strings12ReferencingandDereferencing13Arrays14StructuresandUserDefinedTypes15Namespaces15DataTypesandLiteralConstants16PredefinedDataTypes161Int")(); return 0; }