// { dg-additional-options -fmodules-ts } module foo; void foo (int x, void *p) { auto *obj = reinterpret_cast *> (p); obj->member = x; } void foo (float x, void *p) { auto *obj = reinterpret_cast *> (p); obj->member = x; }