mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00

This brings the compiler's behavior in line with the language spec. Fixes dlang/dlang.org#4137
7 lines
114 B
D
7 lines
114 B
D
/+
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/uda_lambda.d(7): Error: declaration expected, not `=>`
|
|
---
|
|
+/
|
|
@a => 7 int b;
|