www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - extern enum v0.88

The following produces a segfault in dmd 0.88, on linux kernel 2.2.24

--snip--------------------
extern enum myEnum;

int main()
{ }
--------------------------

GDB backtrace:

#0  0x0808bb15 in EnumDeclaration::semantic(Scope*) ()
#1  0x0804a6c4 in StorageClassDeclaration::semantic(Scope*) ()
#2  0x080b39f4 in Module::semantic() ()
#3  0x080b222b in main ()
#4  0x400fb917 in __libc_start_main () from /lib/libc.so.6

Cheers
Nic
May 13 2004