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

12 lines
170 B
Mathematica
Raw Permalink Normal View History

2022-04-25 13:02:35 +02: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