blob: b85dc8d21bb48edbb0fe32255383c9bd8a9eefdc [file] [log] [blame]
/*
TEST_OUTPUT
---
fail_compilation/diag16271.d(10): Error: found `x` when expecting function literal following `ref`
---
*/
void main()
{
auto fun = ref x;
}