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" } { "" } } */
8 #include "../objc-obj-c++-shared/TestsuiteObject.m"
10 extern void abort(void);
11 #define CHECK_IF(expr) if(!(expr)) abort()
13 static double d = 4.5920234e2;
15 @interface Foo : TestsuiteObject
16 -(void) brokenType: (int)x floatingPoint: (double)y;
21 -(void) brokenType: (int)x floatingPoint: (double)y
31 [foo brokenType: d floatingPoint: d];