p6-cxx0x.cpp revision 651f13cea278ec967336033dd032faef0e9fc2ec
19258b6bc66e09368ada54001f619d53b4fc976d5ager@chromium.org// RUN: %clang_cc1 -fsyntax-only -verify %s 29a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.com// C++0x N2914. 39a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.com 49a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.comnamespace A { 59a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.com namespace B { } 69a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.com} 79a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.com 89a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.comusing A::B; // expected-error{{using declaration cannot refer to namespace}} 99a4089a092cad9ff23b6416b92cd5d818dc101d1mads.s.ager@gmail.com