Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / CodeGen / X86 / 2007-08-13-AppendingLinkage.ll
blobc90a85f16949efa1626445f9edea3b7f296f48ef
1 ; RUN: llc < %s -march=x86 | not grep drectve
2 ; PR1607
4 %hlvm_programs_element = type { i8*, i32 (i32, i8**)* }
5 @hlvm_programs = appending constant [1 x %hlvm_programs_element]
6 zeroinitializer
8 define %hlvm_programs_element* @hlvm_get_programs() {
9 entry:
10   ret %hlvm_programs_element* getelementptr([1 x %hlvm_programs_element]*  
11                                             @hlvm_programs, i32 0, i32 0)