1// { dg-do assemble } 2// GROUPS passed patches 3// patches file 4// From: david.binderman@pmsr.philips.co.uk 5// Date: Wed, 6 Oct 93 17:05:54 BST 6// Subject: Reno 1.2 bug fix 7// Message-ID: <9310061605.AA04160@pmsr.philips.co.uk> 8 9int type(float) { return 1; } 10int type(double) { return 2; } 11int type(long double) { return 3; } 12 13extern "C" int printf( const char *, ...); 14 15int main() 16{ 17 int i = 0; 18 if (type(0.0) != 2) 19 ++i; 20 if (i > 0) 21 { printf ("FAIL\n"); return 1; } 22 else 23 printf ("PASS\n"); 24} 25