mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-18 18:32:32 +00:00
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:
parent
10f06755ce
commit
358f24943a
3
test/FrontendC/2009-03-01-MallocNoAlias.c
Normal file
3
test/FrontendC/2009-03-01-MallocNoAlias.c
Normal file
@ -0,0 +1,3 @@
|
||||
// RUN: %llvmgcc %s -S -o - | grep noalias
|
||||
|
||||
void * __attribute__ ((malloc)) foo (void) { return 0; }
|
Loading…
x
Reference in New Issue
Block a user