summaryrefslogtreecommitdiff
path: root/test/Modules/objc-hidden.m
blob: 6e40e0d7d1913de69a235e95eed68f11c217ef53 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: rm -rf %t
// 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
// expected-no-diagnostics

// Make sure we don't crash with hidden decls.
@import FakeUnavailableObjCFramework;

@implementation UnavailableObjCClass
- (void)someMethod { }
@end