// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11
// RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11 -DIMPORT_DECLS
// expected-no-diagnostics
@import redecl_add_after_load_decls;
typedef struct A B;
extern const int variable;
extern constexpr int ;
constexpr int
typedef N::B NB;
constexpr int
@import redecl_add_after_load_top;
typedef C::A CB;
constexpr int
;
typedef D::A DB;
constexpr int
@import redecl_add_after_load;
B tu_struct_test;
constexpr int tu_variable_test = ;
constexpr int tu_function_test = ;
NB ns_struct_test;
constexpr int ns_variable_test = ;
constexpr int ns_function_test = ;
CB struct_struct_test;
constexpr int struct_variable_test = ;
constexpr int struct_function_test = ;
DB merged_struct_struct_test;
constexpr int merged_struct_variable_test = ;
constexpr int merged_struct_function_test = ;