Files
llvm-6502/test/FrontendC/2009-03-01-MallocNoAlias.c
Duncan Sands 358f24943a Functions marked malloc are noalias return.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65775 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 16:19:31 +00:00

4 lines
101 B
C

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