blob: 95b78fa034077171ba6692ff60bf9daea51cc0b2 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail11748.d(12): Error: expression my_function(0) is void and has no value
---
*/
void main()
{
enum my_template(alias T) = T.stringof;
void my_function(int i) { }
my_template!(my_function(0));
}