diff options
Diffstat (limited to 'test/Analysis/free.c')
-rw-r--r-- | test/Analysis/free.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/free.c b/test/Analysis/free.c index 0b283ee5d4..1dfc1082c7 100644 --- a/test/Analysis/free.c +++ b/test/Analysis/free.c @@ -50,7 +50,7 @@ void t10 () { void t11 () { char *p = (char*)__builtin_alloca(2); - free(p); // expected-warning {{Argument to free() was allocated by alloca(), not malloc()}} + free(p); // expected-warning {{Memory allocated by alloca() should not be deallocated}} } void t12 () { |