summaryrefslogtreecommitdiffstats
path: root/test/Sema/attr-malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/attr-malloc.c')
-rw-r--r--test/Sema/attr-malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/attr-malloc.c b/test/Sema/attr-malloc.c
index 5351d75..6af15d2 100644
--- a/test/Sema/attr-malloc.c
+++ b/test/Sema/attr-malloc.c
@@ -19,10 +19,10 @@ __attribute((malloc)) int (*g)(); // expected-warning{{attribute only applies to
__attribute((malloc))
void * xalloc(unsigned n) { return malloc(n); } // no-warning
-// RUN: grep 'define noalias .* @xalloc(' %t
+// RUN: grep 'define .*noalias .* @xalloc(' %t %t
#define malloc_like __attribute((__malloc__))
void * xalloc2(unsigned) malloc_like;
void * xalloc2(unsigned n) { return malloc(n); }
-// RUN: grep 'define noalias .* @xalloc2(' %t
+// RUN: grep 'define .*noalias .* @xalloc2(' %t %t
OpenPOWER on IntegriCloud