annotate compile/o/opCat_23_A.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 daef239f37cf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1144
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
1 // $HeadURL$
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
2 // $Date$
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
3 // $Author$
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
4
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
5 // @author@ Stewart Gordon <smjg@iname.com>
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
6 // @date@ 2006-09-16
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1144
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=352
1144
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
8 // @desc@ [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
9
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
10 module dstress.compile.o.opCat_23_A;
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
11
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
12 template A(char[] x){
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
13 const char[] A = x;
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
14 }
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
15
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
16 template B(char[] y){
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
17 const char[] B = A!(y ~ "dog");
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
18 }
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
19
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
20 const char[] s = B!("CAT");
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
21
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
22 static assert(s == "CATdog");
afe5081510a3 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template
thomask
parents:
diff changeset
23