| 1 | // RUN: rm -rf %t |
|---|---|
| 2 | // RUN: %clang_cc1 -fsyntax-only -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-hidden/System -F %S/Inputs/objc-hidden -verify -x objective-c %s |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | // Make sure we don't crash with hidden decls. |
| 6 | @import FakeUnavailableObjCFramework; |
| 7 | |
| 8 | @implementation UnavailableObjCClass |
| 9 | - (void)someMethod { } |
| 10 | @end |
| 11 | |
| 12 |