mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
b6fd95ab41
We would set the body of a struct type (therefore making it non-opaque) but were forgetting to move it to the non-opaque set. Fixes pr22807. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231442 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
105 B
LLVM
7 lines
105 B
LLVM
%struct.A = type { %struct.B* }
|
|
%struct.B = type opaque
|
|
|
|
define i32 @foo(%struct.A** %A) {
|
|
ret i32 0
|
|
}
|