(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.dg/
asan/
gdc272.d
/* { dg-options "-fsanitize=address" } */
/* { dg-do compile } */

module asantests;


/******************************************/
// https://bugzilla.gdcproject.org/show_bug.cgi?id=272

extern(C) void my_memcmp(const(void) *s1, const(void) *s2);

void bug(const(char)* p)
{
        my_memcmp(p, "__FILE__".ptr);
}