Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;
}