src/codegen.cpp | 70 +++++++++++++------ src/ir.cpp | 61 +++++++++------- test/compile_errors.zig | 22 ++++++ test/standalone.zig | 1 + test/standalone/extern_ref/build.zig | 15 ++++ test/standalone/extern_ref/main.zig | 120 ++++++++++++++++++++++++++++++++ test/standalone/extern_ref/obj.zig | 27 +++++++ test/standalone/extern_ref/types.zig | 15 ++++ 8 files changed, 284 insertions(+), 47 deletions(-)