ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gdc.test/runnable/extern1.d

15 lines
200 B
D

// note: not actually imported, just built and linked against
// EXTRA_SOURCES: imports/extern1a.d
// PERMUTE_ARGS:
extern (C)
{
extern int x;
}
int main()
{
assert(x == 3);
return 0;
}