annotate run/a/assert_18_C.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 72ecc3d71ef9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1309
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
1 // $HeadURL$
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
2 // $Date$
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
3 // $Author$
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
4
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
5 // @author@ Matti Niemenmaa <deewiant@gmail.com>
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
6 // @date@ 2006-12-30
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=777
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
8 // @desc@ [Issue 777] -inline: assert() with a non-constant message causes code to not compile
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
9
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
10 module dstress.run.a.assert_18_C;
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
11
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
12 void foo(){
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
13 assert(true, "bar");
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
14 }
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
15
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
16 int main(char[][] args){
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
17 foo();
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
18 return 0;
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
19 }
72ecc3d71ef9 [Issue 777] -inline: assert() with a non-constant message causes code to not compile
thomask
parents:
diff changeset
20