2002-07-14 23:25:14 +00:00
|
|
|
; Test that opaque types are preserved correctly
|
2006-12-02 04:23:10 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as | llvm-dis
|
2002-07-14 23:25:14 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
%Ty = type opaque
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
%Ty* %func() {
|
|
|
|
ret %Ty* null
|
|
|
|
}
|
|
|
|
|