[cfe-commits] r43077 - in /cfe/trunk: Lex/Preprocessor.cpp test/Sema/argument-checking.m test/Sema/id_not_builtin.m test/Sema/method-not-defined.m test/Sema/selector-1.m test/Sema/selector-overload.m

Chris Lattner clattner at apple.com
Wed Oct 17 11:04:01 PDT 2007


On Oct 17, 2007, at 10:53 AM, Steve Naroff wrote:

> ====================================================================== 
> ========
> --- cfe/trunk/test/Sema/id_not_builtin.m (original)
> +++ cfe/trunk/test/Sema/id_not_builtin.m Wed Oct 17 12:53:50 2007
> @@ -1,9 +1,10 @@
>  // RUN: clang %s -fsyntax-only -verify
>
> -id obj; // expected-error{{expected '=', ',', ';', 'asm', or  
> '__attribute__' after declarator}}
> +// id is now builtin. There should be no errors. Should probably  
> remove this file.
> +id obj;
>
>  @interface Foo
>
> -- defaultToId; // expected-error{{cannot find definition of 'id'}}
> +- defaultToId;
>
>  @end
>
How about just renaming this to id_builtin.m ?

-Chris




More information about the cfe-commits mailing list