Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -ast-dump -ast-dump-filter AutoVar | FileCheck %s
      2 
      3 namespace {
      4   class foo {
      5   };
      6 }
      7 
      8 #pragma GCC visibility push(hidden)
      9 auto AutoVar = foo();
     10 
     11 // CHECK: VarDecl {{.*}} AutoVar
     12 // CHECK-NOT: VisibilityAttr
     13