1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s 3 4 namespace A { 5 namespace B { } 6 } 7 8 // CHECK: fix-it:"{{.*}}":{[[@LINE+1]]:7-[[@LINE+1]]:7}:"namespace " 9 using A::B; // expected-error{{using declaration cannot refer to a namespace}} 10 // expected-note@-1 {{did you mean 'using namespace'?}} 11