annotate compile/b/bug_expression_4420_C.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents b36225ffff87
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1465
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
1 // $HeadURL$
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
2 // $Date$
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
3 // $Author$
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
4
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
5 // @author@ Frits van Bommel <fvbommel@wxs.nl>
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
6 // @date@ 2007-01-31
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=991
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
8 // @desc@ [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
9
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
10 module dstress.compile.b.bug_expression_4420_C;
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
11
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
12 template Template(Ts...) {
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
13 alias Ts tuple;
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
14 }
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
15
1586
a74f0139fc3d Fix tests using typeof on types.
Christian Kamm <kamm incasoftware de>
parents: 1465
diff changeset
16 static if(!is(Template!().tuple)){
1465
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
17 static assert(0);
b36225ffff87 [Issue 991] expression.c:4257: virtual Expression* DotIdExp::semantic(Scope*): Assertion `0' failed.
thomask
parents:
diff changeset
18 }