[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / AST / auto-pragma.cpp
blob1cd0781fe9a7a80f2880f18c0c45d07f0a91a402
1 // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -ast-dump -ast-dump-filter AutoVar | FileCheck %s
3 namespace {
4 class foo {
5 };
8 #pragma GCC visibility push(hidden)
9 auto AutoVar = foo();
11 // CHECK: VarDecl {{.*}} AutoVar
12 // CHECK-NOT: VisibilityAttr