Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.law/arg6.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { dg-do assemble } // GROUPS passed arg-matching // arg-matching file // Message-Id: <9305032310.AA03900@malachite.bbn.com> // From: Dan Franklin <dan@diamond.bbn.com> // Subject: overloaded function bug // Date: Mon, 3 May 93 19:10:10 EDT typedef int (*fnp)(int, void*); void dispatch_insert(int, int, fnp, void* = 0); void dispatch_insert(int, int, long*, char*); typedef void (*InsertFunP)(int, int, fnp, void*); extern void f(InsertFunP); void g() { f(dispatch_insert); }