blob: 1cd0781fe9a7a80f2880f18c0c45d07f0a91a402 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -ast-dump -ast-dump-filter AutoVar | FileCheck %s
namespace {
class foo {
};
}
#pragma GCC visibility push(hidden)
auto AutoVar = foo();
// CHECK: VarDecl {{.*}} AutoVar
// CHECK-NOT: VisibilityAttr