# HG changeset patch # User Tomas Lindquist Olsen # Date 1217814008 -7200 # Node ID 5e9883a7f9a5014133850a8225113c69232440df # Parent d0dad1fe0f45029d57f8cdf3fcd7d3e152162100 added testcase for taking address of function as constant expr. diff -r d0dad1fe0f45 -r 5e9883a7f9a5 tests/mini/compile_funcptr1.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/mini/compile_funcptr1.d Mon Aug 04 03:40:08 2008 +0200 @@ -0,0 +1,4 @@ +module mini.compile_funcptr1; + +void a() { } +void function() b = &a;