From b1333d5cfcfdfa17d1e00439d477d99af462669a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=B3=D9=84=D9=8A=D9=85=D8=A7=D9=86=20=D8=A7=D9=84=D8=B3?= =?UTF-8?q?=D9=87=D9=85=D9=8A=20=20=28Suleyman=20Sahmi=29?= Date: Fri, 19 Apr 2019 14:50:00 +0000 Subject: [PATCH] Close issue 6541 --- test/compilable/staticsync0.d | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/compilable/staticsync0.d diff --git a/test/compilable/staticsync0.d b/test/compilable/staticsync0.d new file mode 100644 index 000000000000..b4922159f61e --- /dev/null +++ b/test/compilable/staticsync0.d @@ -0,0 +1,10 @@ +class C +{ + static synchronized func(alias a)() {} +} + +void main() +{ + int a; + C.func!a(); +}