1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/Linker/Inputs/pr22807-1.ll
Rafael Espindola 2e7290e23d Remember to move a type to the correct set when setting the body.
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.

llvm-svn: 231442
2015-03-06 00:50:21 +00:00

7 lines
105 B
LLVM

%struct.A = type { %struct.B* }
%struct.B = type opaque
define i32 @foo(%struct.A** %A) {
ret i32 0
}