summaryrefslogtreecommitdiff
path: root/test/Modules/cxx-lookup.cpp
blob: f3e272009fceb81e6b45e8b01d40fbf43245ffc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/cxx-lookup -verify
// expected-no-diagnostics
namespace llvm {}
#include "c2.h"
llvm::GlobalValue *p;

#include "na.h"
namespace N { struct foo; }
#include "nb.h"
N::foo *use_n_foo;