[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Modules / objc-designated-init-mod.m
blob15c25a3ec2ef0d0a574b594113aa62acf607d5f1
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-desig-init %s -verify
3 // expected-no-diagnostics
5 #import "X.h"
6 #import "Base.h"
7 #import "A.h"
9 @implementation X
11 - (instancetype)initWithNibName:(NSString *)nibName {
12   if ((self = [super initWithNibName:nibName])) {
13                 return self;
14   }
15   return self;
17 @end