Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / CodeGen / SystemZ / 2009-08-21-InlineAsmRConstraint.ll
blobf7686f14da9e9a6c691be6ad191497f80aa4946d
1 ; RUN: llc < %s
2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:16-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:16:16-f128:128:128"
3 target triple = "s390x-ibm-linux-gnu"
5 @__JCR_LIST__ = internal global [0 x i8*] zeroinitializer, section ".jcr", align 8 ; <[0 x i8*]*> [#uses=1]
7 define internal void @frame_dummy() nounwind {
8 entry:
9   %asmtmp = tail call void (i8*)* (void (i8*)*)* asm "", "=r,0"(void (i8*)* @_Jv_RegisterClasses) nounwind ; <void (i8*)*> [#uses=2]
10   %0 = icmp eq void (i8*)* %asmtmp, null          ; <i1> [#uses=1]
11   br i1 %0, label %return, label %bb3
13 bb3:                                              ; preds = %entry
14   tail call void %asmtmp(i8* bitcast ([0 x i8*]* @__JCR_LIST__ to i8*)) nounwind
15   ret void
17 return:                                           ; preds = %entry
18   ret void
21 declare extern_weak void @_Jv_RegisterClasses(i8*)