blob: c3f7503e53d0c91415e3a3909f91ce6dc267f97a [file] [log] [blame]
/* APPLE LOCAL file KEXT indirect-virtual-calls --sts */
/* Radar 3848842 Positive C++ test case. */
/* Origin F. Jahanian <fjahanian@apple.com> */
/* { dg-do compile } */
/* { dg-options "-Os -fapple-kext" } */
struct Integer
{
Integer ( void ) ;
virtual ~Integer ( void ) ;
};
static void AppendMa(unsigned char *outBuffer);
static void AppendNonce();
extern "C" void afpfs_DHXLogin ()
{
unsigned char *cptr = __null;
AppendMa(cptr);
AppendNonce();
}
static void AppendNonce() { }
static void AppendMa(unsigned char *outBuffer)
{
Integer Ma;
}