Mercurial > projects > dstress
annotate run/l/large_id_02_A.d @ 1349:b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
Christian Kamm <kamm@incasoftware.de>
2006-01-09
http://d.puremagic.com/issues/show_bug.cgi?id=825
author | thomask |
---|---|
date | Wed, 14 Feb 2007 10:10:43 +0000 |
parents | |
children | 36bedfa079e6 |
rev | line source |
---|---|
1349
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
2 // $Date$ |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
3 // $Author$ |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
4 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
5 // @author@ Christian Kamm <kamm@incasoftware.de> |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
6 // @date@ 2006-01-09 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=825 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 825] dmd segmentation fault with large char[] template value parameter |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
9 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
10 // the id is an extraction from slang-1.4.9-r1/slang.txt |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
11 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
12 module dstress.run.l.large_id_02_A; |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
13 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
14 void bug(char[] msg)(){ |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
15 if(442 != msg.length){ |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
16 assert(0); |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
17 } |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
18 } |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
19 |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
20 int main(){ |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
21 bug!("AGuidetotheSLangLanguageJohnEDavisdavisspacemiteduMar232003TableofContentsPreface1ABriefHistoryofSLang2Acknowledgements2Introduction3LanguageFeatures4DataTypesandOperators5StatementsandFunctions6ErrorHandling7RunTimeLibrary8InputOutput9ObtainingSLang9OverviewoftheLanguage10VariablesandFunctions11Strings12ReferencingandDereferencing13Arrays14StructuresandUserDefinedTypes15Namespaces15DataTypesandLiteralConstants16PredefinedDataTypes161Inte")(); |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
22 return 0; |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
23 } |