view run/html_entity_num.html @ 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 9a121126b077
children
line wrap: on
line source

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title>dstress.run.html_entity_num</title></head>
<body><pre><CODE>
module dstress.run.html_entity_num;

int main(){
	static assert('&amp;' == 38);
	static assert('&apos;' == 0x00027);
	static assert('&ast;' == 0x0002A);
	static assert('&brvbar;' == 0x000A6);
	static assert('&bsol;' == 0x0005C);
	static assert('&cent;' == 0x000A2);
	static assert('&colon;' == 0x0003A);
	static assert('&comma;' == 0x0002C);
	static assert('&commat;' == 0x00040);
	static assert('&copy;' == 0x000A9);
	static assert('&curren;' == 0x000A4);
	static assert('&darr;' == 0x02193);
	static assert('&deg;' == 0x000B0);
	static assert('&divide;' == 0x000F7);
	static assert('&dollar;' == 0x00024);
	static assert('&equals;' == 0x0003D);
	static assert('&excl;' == 0x00021);
	static assert('&frac12;' == 0x000BD);
	static assert('&frac14;' == 0x000BC);
	static assert('&frac18;' == 0x0215B);
	static assert('&frac34;' == 0x000BE);
	static assert('&frac38;' == 0x0215C);
	static assert('&frac58;' == 0x0215D);
	static assert('&frac78;' == 0x0215E);
	static assert('&gt;' == 0x0003E);
	static assert('&half;' == 0x000BD);
	static assert('&horbar;' == 0x02015);
	static assert('&hyphen;' == 0x02010);
	static assert('&iexcl;' == 0x000A1);
	static assert('&iquest;' == 0x000BF);
	static assert('&laquo;' == 0x000AB);
	static assert('&larr;' == 0x02190);
	static assert('&lcub;' == 0x0007B);
	static assert('&ldquo;' == 0x0201C);
	static assert('&lowbar;' == 0x0005F);
	static assert('&lpar;' == 0x00028);
	static assert('&lsqb;' == 0x0005B);
	static assert('&lsquo;' == 0x02018);
	static assert('&lt;' == 60);
	static assert('&micro;' == 0x000B5);
	static assert('&middot;' == 0x000B7);
	static assert('&nbsp;' == 0x000A0);
	static assert('&not;' == 0x000AC);
	static assert('&num;' == 0x00023);
	static assert('&ohm;' == 0x02126);
	static assert('&ordf;' == 0x000AA);
	static assert('&ordm;' == 0x000BA);
	static assert('&para;' == 0x000B6);
	static assert('&percnt;' == 0x00025);
	static assert('&period;' == 0x0002E);
	static assert('&plus;' == 0x0002B);
	static assert('&plusmn;' == 0x000B1);
	static assert('&pound;' == 0x000A3);
	static assert('&quest;' == 0x0003F);
	static assert('&quot;' == 0x00022);
	static assert('&raquo;' == 0x000BB);
	static assert('&rarr;' == 0x02192);
	static assert('&rcub;' == 0x0007D);
	static assert('&rdquo;' == 0x0201D);
	static assert('&reg;' == 0x000AE);
	static assert('&rpar;' == 0x00029);
	static assert('&rsqb;' == 0x0005D);
	static assert('&rsquo;' == 0x02019);
	static assert('&sect;' == 0x000A7);
	static assert('&semi;' == 0x0003B);
	static assert('&shy;' == 0x000AD);
	static assert('&sol;' == 0x0002F);
	static assert('&sung;' == 0x0266A);
	static assert('&sup1;' == 0x000B9);
	static assert('&sup2;' == 0x000B2);
	static assert('&sup3;' == 0x000B3);
	static assert('&times;' == 0x000D7);
	static assert('&trade;' == 0x02122);
	static assert('&uarr;' == 0x02191);
	static assert('&verbar;' == 0x0007C);
	static assert('&yen;' == 0x000A5);
	return 0;
}
</CODE></pre></body>
</html>