Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / AST / auto-pragma.cpp
blobc22164c39be953a1027e58dad6febff6bcb1ed7c
1 // RUN: %clang_cc1 %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