dmd/compiler/test/compilable/test22577.c
2022-07-09 18:53:07 +02:00

9 lines
154 B
C

// https://issues.dlang.org/show_bug.cgi?id=22577
typedef int(func)(void);
int one(void) { return 1; }
func* const fp1 = &one;
func* const fp2 = one;