diff options
Diffstat (limited to 'clang/test/CodeGen/2009-03-01-MallocNoAlias.c')
-rw-r--r-- | clang/test/CodeGen/2009-03-01-MallocNoAlias.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2009-03-01-MallocNoAlias.c b/clang/test/CodeGen/2009-03-01-MallocNoAlias.c new file mode 100644 index 0000000..1c4878a --- /dev/null +++ b/clang/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; } |