Mercurial > projects > dstress
annotate run/l/large_id_02_B.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | b46ea253c724 |
children |
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_B; |
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
13 |
1560 | 14 void bug(string msg)(){ |
1349
b46ea253c724
[Issue 825] dmd segmentation fault with large char[] template value parameter
thomask
parents:
diff
changeset
|
15 if(441 != 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!("AGuidetotheSLangLanguageJohnEDavisdavisspacemiteduMar232003TableofContentsPreface1ABriefHistoryofSLang2Acknowledgements2Introduction3LanguageFeatures4DataTypesandOperators5StatementsandFunctions6ErrorHandling7RunTimeLibrary8InputOutput9ObtainingSLang9OverviewoftheLanguage10VariablesandFunctions11Strings12ReferencingandDereferencing13Arrays14StructuresandUserDefinedTypes15Namespaces15DataTypesandLiteralConstants16PredefinedDataTypes161Int")(); |
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 } |