1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -pedantic %s 2 3 // Intentionally compiled as C++03 to test the extension warning. 4 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}} 10