summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2009-03-01-MallocNoAlias.c
blob: 1c4878a8189c620b4cde12f48713ebcc70ec4584 (about) (plain)
1
2
3
// RUN: %clang_cc1 %s -emit-llvm -o - | grep noalias

void * __attribute__ ((malloc)) foo (void) { return 0; }