Skip to content

Commit 0d0e9b1

Browse files
committed
fixed test failure
1 parent 8936d30 commit 0d0e9b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/Analysis/castsize.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// RUN: %clang_analyze_cc1 -verify %s \
22
// RUN: -analyzer-checker=core,unix.Malloc,alpha.core.CastSize
33

4-
void *malloc(unsigned long);
4+
typedef typeof(sizeof(int)) size_t;
5+
void *malloc(size_t);
56

67
struct s1 {
78
int a;

0 commit comments

Comments
 (0)