forked from OSchip/llvm-project
clang/test/Analysis/malloc-overflow2.c: Appease 32-bit targets.
size_t is not unsigned long for targeting i686 (and Windows x64). llvm-svn: 248458
This commit is contained in:
parent
16eb1d2278
commit
0cc61b2d30
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.MallocOverflow,unix -verify %s
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -analyze -analyzer-checker=alpha.security.MallocOverflow,unix -verify %s
|
||||
|
||||
typedef __typeof__(sizeof(int)) size_t;
|
||||
extern void *malloc(size_t);
|
||||
|
|
Loading…
Reference in New Issue