changeset 1173:03cf19fff541

Bruno Medeiros <brunodomedeiros+bugz@gmail.com> 2006-09-26 news:bug-368-3@http.d.puremagic.com/issues/ [Issue 368] New: "immediate"-function types allowed as the return type of functions.
author thomask
date Fri, 06 Oct 2006 06:56:38 +0000
parents deaf29e6f037
children 70a6573ba83d
files nocompile/t/typeof_12_A.d nocompile/t/typeof_12_B.d
diffstat 2 files changed, 38 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/t/typeof_12_A.d	Fri Oct 06 06:56:38 2006 +0000
@@ -0,0 +1,20 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Bruno Medeiros <brunodomedeiros+bugz@gmail.com>
+// @date@	2006-09-26
+// @uri@	news:bug-368-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 368] New: "immediate"-function types allowed as the return type of functions.
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.t.typeof_12_A;
+
+void func(int a) {
+}
+
+typeof(func) test() {
+	if(true)
+		throw new Exception("");
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/t/typeof_12_B.d	Fri Oct 06 06:56:38 2006 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Bruno Medeiros <brunodomedeiros+bugz@gmail.com>
+// @date@	2006-09-26
+// @uri@	news:bug-368-3@http.d.puremagic.com/issues/
+// @desc@	[Issue 368] New: "immediate"-function types allowed as the return type of functions.
+
+// __DSTRESS_ELINE__ 17
+
+module dstress.nocompile.t.typeof_12_B;
+
+void func(int a) {
+}
+
+typeof(func) test() {
+}