| 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | // id is now builtin. There should be no errors. |
| 5 | id obj; |
| 6 | |
| 7 | @interface Foo |
| 8 | |
| 9 | - defaultToId; |
| 10 | |
| 11 | @end |
| 12 |
| 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | // id is now builtin. There should be no errors. |
| 5 | id obj; |
| 6 | |
| 7 | @interface Foo |
| 8 | |
| 9 | - defaultToId; |
| 10 | |
| 11 | @end |
| 12 |