mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-14 19:03:14 +01:00
added testcase for taking address of function as constant expr.
This commit is contained in:
4
tests/mini/compile_funcptr1.d
Normal file
4
tests/mini/compile_funcptr1.d
Normal file
@@ -0,0 +1,4 @@
|
||||
module mini.compile_funcptr1;
|
||||
|
||||
void a() { }
|
||||
void function() b = &a;
|
||||
Reference in New Issue
Block a user