summaryrefslogtreecommitdiff
path: root/test/Modules/misplaced-1.cpp
blob: d67ad194a92235037c23ac39da8615c78d676f23 (plain)
1
2
3
4
5
6
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify

namespace N1 {  // expected-note{{namespace 'N1' begins here}}
#include "dummy.h"  // expected-error{{import of module 'dummy' appears within namespace 'N1'}}
}