aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/noalias-ret.ll
blob: d88452b797610c9640feabc3f6ea650f07efc73a (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s

define noalias i8* @_Znwj(i32 %x) nounwind {
  %A = malloc i8, i32 %x
  ret i8* %A
}