Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / dcl.dcl / basic.namespace / namespace.def / p1.cpp
blob6ffa873cd46b9612d5546b6fd0970ae670d2b984
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -pedantic %s
3 // Intentionally compiled as C++03 to test the extension warning.
5 namespace a {} // original
6 namespace a {} // ext
7 inline namespace b {} // inline original expected-warning {{inline namespaces are}}
8 inline namespace b {} // inline ext expected-warning {{inline namespaces are}}
9 inline namespace {} // inline unnamed expected-warning {{inline namespaces are}}