diff options
Diffstat (limited to 'test/SemaObjC/method-sentinel-attr.m')
-rw-r--r-- | test/SemaObjC/method-sentinel-attr.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/method-sentinel-attr.m b/test/SemaObjC/method-sentinel-attr.m index 6ec362f..5375408 100644 --- a/test/SemaObjC/method-sentinel-attr.m +++ b/test/SemaObjC/method-sentinel-attr.m @@ -16,7 +16,7 @@ - (void) foo11 : (int)x, ... __attribute__ ((__sentinel__(1,1,3))); // expected-error {{attribute requires 0, 1 or 2 argument(s)}} - (void) foo12 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel here}} -// rdar:// 7975788 +// rdar://7975788 - (id) foo13 : (id)firstObj, ... __attribute__((sentinel(0,1))); - (id) foo14 : (id)firstObj : (Class)secondObj, ... __attribute__((sentinel(0,1))); - (id) foo15 : (id*)firstObj, ... __attribute__((sentinel(0,1))); @@ -40,7 +40,7 @@ int main () [p foo12:1]; // expected-warning {{not enough variable arguments in 'foo12:' declaration to fit a sentinel}} - // rdar:// 7975788 + // rdar://7975788 [ p foo13 : NULL]; [ p foo14 : 0 : NULL]; [ p foo16 : NULL]; |