freebsd-dev/test/SemaObjC/id_builtin.m

11 lines
143 B
Mathematica
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 %s -fsyntax-only -verify
2009-06-02 17:58:47 +00:00
// id is now builtin. There should be no errors.
id obj;
@interface Foo
- defaultToId;
@end