#75·8cc

internal error for the use of rvalue struct

Author: shinhCreated Feb 29, 2016Updated Feb 29, 2016

typedef struct { int x; } S; S func(); int func2() { return func().x; }

$ ./8cc -c t.c [ERROR] gen.c:401: (null): internal error: ((struct (int)))func() zsh: exit 1 ./8cc -c t.c