brintos

brintos / llvm-project-archived public Read only

0
0
Text · 371 B · 76379eb Raw
14 lines · plain
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s2 3; CHECK: Attribute 'align 4' applied to incompatible type!4; CHECK-NEXT: @align_non_pointer15define void @align_non_pointer1(i32 align 4 %a) {6  ret void7}8 9; CHECK: Attribute 'align 4' applied to incompatible type!10; CHECK-NEXT: @align_non_pointer211define align 4 void @align_non_pointer2(i32 %a) {12  ret void13}14