mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
17 lines
335 B
C
17 lines
335 B
C
// https://issues.dlang.org/show_bug.cgi?id=22904
|
|
|
|
int fn1() { return 0; }
|
|
void fn2() { long x = (long) (fn1) (); }
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=22912
|
|
|
|
typedef long my_long;
|
|
void fn3() { long x = (my_long) (fn1) (); }
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=22913
|
|
|
|
void fn4()
|
|
{
|
|
int a[1];
|
|
int b = (a[0]);
|
|
}
|