-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
Bugzilla Link | 3372 |
Resolution | FIXED |
Resolved on | Feb 02, 2009 02:49 |
Version | trunk |
OS | All |
Attachments | test case |
Reporter | LLVM Bugzilla Contributor |
Extended Description
There seems to be a bug in the .ll parser when referencing '@0'. The attached test case sends an error when running with llvm-as:
test.ll:2:17: forward reference and definition of global have different types
However, if you change the '@0' reference to a '@1' reference (thus referencing the next global variable) in the 'Try' variable, it works.
(And to make sure '@0' is the first unnamed global variable, changing '@0' to '@2' returns an error: "use of undefined value '@2'")