Rafael Espindola | 4c8cba8 | 2013-02-22 17:59:16 +0000 | [diff] [blame] | 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 |