llvm-for-llvmta/tools/clang/test/CodeGen/2009-03-01-MallocNoAlias.c

4 lines
111 B
C

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