forked from OSchip/llvm-project
parent
332a6590ae
commit
bdbe099dd2
|
@ -7,4 +7,5 @@
|
|||
|
||||
int test(float4 f4) {
|
||||
return f4.xy; // expected-error{{float2}}
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ float *test_f1(int val, double x, double y) {
|
|||
return f1(x, y);
|
||||
else
|
||||
return f1(x); // expected-error{{too few arguments to function call}}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void test_g0(int *x, float * y) {
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
@end
|
||||
|
||||
@implementation TestMethodPool1
|
||||
+ alloc {
|
||||
}
|
||||
+ alloc { return 0; }
|
||||
|
||||
- (double)instMethod:(int)foo {
|
||||
return foo;
|
||||
|
|
Loading…
Reference in New Issue