10 lines · cpp
1// RUN: rm -rf %t2// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/merge-decl-order -verify %s3// expected-no-diagnostics4 5// Check that we include all decls from 'a' before the decls from 'b' in foo's6// redecl chain. If we don't, then name lookup only finds invisible friend7// declarations and the lookup below will fail.8#include "b.h"9N::foo *use;10