1// RUN: %clang_cc1 -ast-dump -ast-dump-filter Test %s | FileCheck -strict-whitespace %s 2 3namespace n { 4void function() {} 5int Variable; 6} 7using n::function; 8using n::Variable; 9void TestFunction() { 10 void (*f)() = &function; 11// CHECK: DeclRefExpr{{.*}} (UsingShadow{{.*}}function 12 Variable = 4; 13// CHECK: DeclRefExpr{{.*}} (UsingShadow{{.*}}Variable 14} 15