tree-sitter-objc/examples/SemaObjC/id_builtin.m

12 lines
170 B
Mathematica
Raw Normal View History

2022-04-16 15:58:26 +00:00
// RUN: %clang_cc1 %s -fsyntax-only -verify
// expected-no-diagnostics
// id is now builtin. There should be no errors.
id obj;
@interface Foo
- defaultToId;
@end