teak-llvm/clang/test/Parser/cxx-namespace-alias.cpp
Douglas Gregor 67ca40c419 Eliminate the "minimal" and printing parser actions, which only ever
worked for C anyway. Also kills the -cc1 options -parse-noop and
-parse-print-callbacks.

llvm-svn: 109392
2010-07-26 04:08:02 +00:00

10 lines
306 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
namespace A = B; // expected-error{{namespace name}}
namespace A = !; // expected-error {{expected namespace name}}
namespace A = A::!; // expected-error {{expected namespace name}} \
// expected-error{{use of undeclared identifier 'A'}}