blob: 393e097df5975ab9d404c48214427c4a04df962c [file] [log] [blame]
Douglas Gregord6a49bb2011-03-18 16:10:52 +00001// RUN: %clang_cc1 -fsyntax-only -Wheader-hygiene -verify %s
2
3#include "warn-using-namespace-in-header.h"
4
5namespace dont_warn {}
6using namespace dont_warn;
7
8// Warning is actually in the header but only the cpp file gets scanned.
9// expected-warning {{using namespace directive in global context in header}}