repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
AST
/
auto-pragma.cpp
blob
1cd0781fe9a7a80f2880f18c0c45d07f0a91a402
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