New Issue: Allocating an opaque extern C struct by value results in an internal error

18061, "dlongnecke-cray", "Allocating an opaque extern C struct by value results in an internal error", "2021-07-13T17:58:25Z"

When an opaque extern C struct is allocated by value, the compiler crashes with an internal error.

extern {
  typedef struct Foo_ Foo;
}

proc test() {
  var x: Foo;
  writeln(x);
}
test();

It would be nice if there was a user facing error message for this instead.

Somewhat related to #18022.