llvm-for-llvmta/tools/clang/test/SemaObjC/id_builtin.m

12 lines
170 B
Objective-C

// 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