diff options
Diffstat (limited to 'test/CodeGen/2009-03-01-MallocNoAlias.c')
-rw-r--r-- | test/CodeGen/2009-03-01-MallocNoAlias.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/2009-03-01-MallocNoAlias.c b/test/CodeGen/2009-03-01-MallocNoAlias.c new file mode 100644 index 0000000000000..1c4878a8189c6 --- /dev/null +++ b/test/CodeGen/2009-03-01-MallocNoAlias.c @@ -0,0 +1,3 @@ +// RUN: %clang_cc1 %s -emit-llvm -o - | grep noalias + +void * __attribute__ ((malloc)) foo (void) { return 0; } |