Functions marked malloc are noalias return.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2009-03-01 16:19:31 +00:00
parent 10f06755ce
commit 358f24943a

View File

@ -0,0 +1,3 @@
// RUN: %llvmgcc %s -S -o - | grep noalias
void * __attribute__ ((malloc)) foo (void) { return 0; }