]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Modules/merge-decl-order.cpp
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / Modules / merge-decl-order.cpp
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I%S/Inputs/merge-decl-order -verify %s
3 // expected-no-diagnostics
4
5 // Check that we include all decls from 'a' before the decls from 'b' in foo's
6 // redecl chain. If we don't, then name lookup only finds invisible friend
7 // declarations and the lookup below will fail.
8 #include "b.h"
9 N::foo *use;