]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // C++0x [basic.lookup.unqual]p14:
4 // If a variable member of a namespace is defined outside of the
5 // scope of its namespace then any name used in the definition of
6 // the variable member (after the declarator-id) is looked up as if
7 // the definition of the variable member occurred in its namespace.