Skip to content

Basic Block does not have terminator! #2148

@jruderman

Description

@jruderman
fn three() -> uint { 3u }
fn main() { &three(); }

fails to compile:

Basic Block in function '_ZN4main213E' does not have terminator!
label %4
LLVM ERROR: Broken module, no Basic Block terminator!

Metadata

Metadata

Assignees

Labels

A-codegenArea: Code generation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions