9 lines
114 B
D
9 lines
114 B
D
extern(C) int cfunc( int x );
|
|
int main()
|
|
{
|
|
int x = 1;
|
|
int y;
|
|
y = cfunc(x);
|
|
assert( y == x + 1 );
|
|
return 0;
|
|
}
|