changeset 1549:1e01d8b3e715

Dave <godaves@yahoo.com> 2006-11-26 http://d.puremagic.com/issues/show_bug.cgi?id=606
author thomask
date Mon, 23 Jul 2007 18:41:38 +0000
parents 00ac8cb240eb
children f46f0b6ed2d1
files run/a/auto_20_A.d
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/a/auto_20_A.d	Mon Jul 23 18:41:38 2007 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Dave <godaves@yahoo.com>
+// @date@	2006-11-26
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=606
+
+module dstress.run.a.auto_20_A;
+
+int prop() {
+	return 0x12AA34FF;
+}
+
+int main(){
+	auto x = prop;
+	static assert(is(typeof(x) == int));
+
+	if(0x12AA34FF != x){
+		assert(0);
+	}
+
+	return 0;
+}