Home | History | Annotate | Download | only in Assembler
      1 ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
      2 
      3 target datalayout = "A1"
      4 
      5 ; addrspace and align in wrong order
      6 ; CHECK: :8:39: error: expected metadata after comma
      7 define void @use_alloca() {
      8   %alloca = alloca i32, addrspace(1), align 4
      9   ret void
     10 }
     11 
     12 !0 = !{}
     13