diff --git a/test/FrontendC/2009-03-01-MallocNoAlias.c b/test/FrontendC/2009-03-01-MallocNoAlias.c new file mode 100644 index 00000000000..22ff6cb5c30 --- /dev/null +++ b/test/FrontendC/2009-03-01-MallocNoAlias.c @@ -0,0 +1,3 @@ +// RUN: %llvmgcc %s -S -o - | grep noalias + +void * __attribute__ ((malloc)) foo (void) { return 0; }