1 /* When there is only one candidate method available, make sure the
2 compiler uses its argument/return types when constructing the
3 message sends (so that proper C/C++ argument conversions may
6 /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
7 #include "../objc-obj-c++-shared/Object1.h"
10 #define CHECK_IF(expr) if(!(expr)) abort()
12 static double d = 4.5920234e2;
14 @interface Foo : Object
15 -(void) brokenType: (int)x floatingPoint: (double)y;
20 -(void) brokenType: (int)x floatingPoint: (double)y
30 [foo brokenType: (int)d floatingPoint: d];
33 #include "../objc-obj-c++-shared/Object1-implementation.h"