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