Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7121bdb91b86f6053765bda18dd0a8a118929ace
/
.
/
test
/
SemaCXX
/
auto-pragma.cpp
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