Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gdc.dg
/
attr_allocsize2.d
blob: a10dbbee498d3cd9b1cc72708a04085bb3bd8218 [
file
] [
log
] [
blame
]
// { dg-do compile }
import
gcc
.
attributes
;
void
*
my_calloc
(
size_t
num
,
size_t
size
)
@allocSize
(
1
,
0
)
{
return
null
;
}
void
*
my_malloc
(
int
a
,
int
b
,
size_t
size
,
int
c
)
@allocSize
(
2
)
{
return
null
;
}