8sa1-gcc/gcc/testsuite/g++.old-deja/g++.law/arg5.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

17 lines
266 B
C

// Build don't link:
// GROUPS passed arg-matching
extern double pow(double,int*);
extern "C" {
extern int printf(char*,...);
extern double pow(double, double);
}
int main()
{
if (pow (2.0, 3.0) != 8.0)
printf ("FAIL\n");
else
printf ("PASS\n");
}